![]() |
$this->db->affected_rows() always returning 0 - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: $this->db->affected_rows() always returning 0 (/showthread.php?tid=12920) |
$this->db->affected_rows() always returning 0 - El Forum - 11-04-2008 [eluser]Armchair Samurai[/eluser] I'm not sure exactly if this is a CI problem, a MySQL problem or something completely different, but the affected_rows() function doesn't seem to be working properly for this query. In one of the models, I have this function: Code: function edit($arr) |