Welcome Guest, Not a member yet? Register   Sign In
You must use the "set" method to update an entry.
#1

[eluser]Richievc[/eluser]
Hi all I having this weired problem

$status_data['] = '12';
$this->db->where(', $client_id);
$this->db->update(TABLE_CLIENTS,$status_data);
return this error: You must use the "set" method to update an entry.

I run the last query and it show this
echo $this->db->last_query();
UPDATE `client_profile` SET `status_in` = '12' WHERE `client_id` = '7617'

Note: there are other queries with inthis function can that be hurting the update the var is unique tho

any help is thankful richievc


Messages In This Thread
You must use the "set" method to update an entry. - by El Forum - 01-21-2011, 10:05 AM
You must use the "set" method to update an entry. - by El Forum - 01-21-2011, 10:25 AM



Theme © iAndrew 2016 - Forum software by © MyBB