Welcome Guest, Not a member yet? Register   Sign In
$this->db->affected_rows() not working
#2

[eluser]smidoid[/eluser]
Have you got the Query_Cache on in MySQL? (If you're on a shared service you might have to ask the host for help.)

This caught me out in a similar fashion... when the cache is active, if you do something that doesn't actually WRITE to the tables, the update returns 0 rows affected. There might be something similar happening here.


Messages In This Thread
$this->db->affected_rows() not working - by El Forum - 06-18-2008, 01:28 PM
$this->db->affected_rows() not working - by El Forum - 06-18-2009, 06:05 AM
$this->db->affected_rows() not working - by El Forum - 06-18-2009, 06:09 AM
$this->db->affected_rows() not working - by El Forum - 06-18-2009, 07:00 AM
$this->db->affected_rows() not working - by El Forum - 06-18-2009, 07:15 AM
$this->db->affected_rows() not working - by El Forum - 06-18-2009, 09:35 AM
$this->db->affected_rows() not working - by El Forum - 06-18-2009, 09:42 AM
$this->db->affected_rows() not working - by El Forum - 06-18-2009, 09:48 AM
$this->db->affected_rows() not working - by El Forum - 06-18-2009, 06:26 PM
$this->db->affected_rows() not working - by El Forum - 06-18-2009, 06:37 PM



Theme © iAndrew 2016 - Forum software by © MyBB