02-10-2011, 06:03 AM
[eluser]Pedro Luz[/eluser]
Hi,
Im having problems with the when doing updating. (REACTOR)
Even if i do
It updates all the records in the table.
any ideas
thanks.
Hi,
Im having problems with the when doing updating. (REACTOR)
Code:
$this->db->where('id', $id);
$this->db->set('field', $data);
$this->db->update('table');
Even if i do
Code:
$this->db->limit(1);
It updates all the records in the table.

any ideas
thanks.