t_contact::model()->insert(array('attributes'=>array( 'ID' => $id, 'NAME' => $this->NAME )));
i try to insert data with insert() method but not work, got this error?
CDbException Description The active record cannot be inserted to database because it is not new.
note : my current model is t_post. and i not crud t_contact table, only create model in commnd line(DOS).
s,
is there any other solution ?
1 search entire forum to see snipet about insert() method, but it seems no one use this method.
is't me in the wrong way

thank before.