This is the code:
$this->db->where('id', $id);
return $this->db->update('contractors', ((array) $contractor));
And it gives me the error A Database Error Occurred: You must use the "set" method to update an entry.
My Answer:
"set_dbdriver" method to specify the database driver to be used.
Rate this post
5 of 5 based on 4025 votesComments