Welcome Guest, Not a member yet? Register   Sign In
Script problem
#2

[eluser]TheFuzzy0ne[/eluser]
You're not actually updating the data. You're just checking for affected rows.

You'll need to use $this->db->query() to run the query, and then $this->db->affected_rows() to get the affected rows. $this->db->affected_rows() doesn't accept any parameters.

Hope this helps.


Messages In This Thread
Script problem - by El Forum - 02-21-2009, 02:26 PM
Script problem - by El Forum - 02-21-2009, 02:36 PM
Script problem - by El Forum - 02-21-2009, 02:37 PM
Script problem - by El Forum - 02-21-2009, 02:39 PM
Script problem - by El Forum - 02-21-2009, 02:47 PM
Script problem - by El Forum - 02-21-2009, 02:56 PM



Theme © iAndrew 2016 - Forum software by © MyBB