[eluser]LuckyFella73[/eluser]
The user guide says nothing about using "SET" when updating.
Don't know if it should work like that.
Just try this:
Code:
$data = array(
'field' => $your_data
);
$this->db->where('id', $id);
$this->db->update('table', $data);
assuming $your_data (in your example '$data') is a variable and no array
EDIT: re reading the User Guide I see that you can use "SET" as well ..
If that code doesn't work please provide more of your code