[eluser]rvillalon[/eluser]
I just found the following code on codeigniter that might solve my problem:
$this->db->set('column', 'value');
$result = $this->db->update('table');
if (!$result)
{
// there was an error
}
else if (!$this->db->affected_rows())
{
// no error, but nothing changed
}
else
{
// record changed
}