[SOLVED] the data type of _id given to the update_attributes
function was string where as the data type in database is int32x. therefore update was getting failed as the data types did not match.
by making the data type in function also as int32x. update was successful.
changed like this before:
$dfff = Dfff::update_attributes($this->input->post('id', TRUE), $form_data);
after changing datatype of id:
$dfff = Dfff::update_attributes($id, $form_data);