Welcome Guest, Not a member yet? Register   Sign In
Need help with Update function
#2

[eluser]rogierb[/eluser]
If MySQL does not update, for instance when the data is the same, the affected rows is 0;

What you can do to debug is use $this->db->last_query() to get the full query. Then run the query in phpmyadmin or similar to see what the query is doing.


Messages In This Thread
Need help with Update function - by El Forum - 02-19-2010, 12:09 AM
Need help with Update function - by El Forum - 02-19-2010, 03:14 AM
Need help with Update function - by El Forum - 02-19-2010, 08:57 AM
Need help with Update function - by El Forum - 02-19-2010, 09:41 AM



Theme © iAndrew 2016 - Forum software by © MyBB