Welcome Guest, Not a member yet? Register   Sign In
What's the best way to determine if two tables were updated successfully using Active Record?
#3

[eluser]danmontgomery[/eluser]
Code:
$ret1 = $this->db->update('table1', $data1);
$ret2 = $this->db->update('table2', $data2);

if($ret1 && $ret2)
    return TRUE;

return FALSE;


Messages In This Thread
What's the best way to determine if two tables were updated successfully using Active Record? - by El Forum - 08-06-2010, 06:04 AM



Theme © iAndrew 2016 - Forum software by © MyBB