Welcome Guest, Not a member yet? Register   Sign In
update setting all fields to zero
#2

[eluser]LifeSteala[/eluser]
Hey,

What does the variable or parameter, $person, contain exactly? The second parameter of $this->db->update() should be an array with all the keys your database table has with values of '0'.

See Active Record - User Guide (Updating Data) for more information.


Messages In This Thread
update setting all fields to zero - by El Forum - 04-12-2012, 01:16 AM
update setting all fields to zero - by El Forum - 04-12-2012, 01:24 AM
update setting all fields to zero - by El Forum - 04-12-2012, 01:48 AM
update setting all fields to zero - by El Forum - 04-12-2012, 04:38 AM
update setting all fields to zero - by El Forum - 04-12-2012, 09:30 AM
update setting all fields to zero - by El Forum - 04-12-2012, 10:46 AM
update setting all fields to zero - by El Forum - 04-12-2012, 10:50 AM
update setting all fields to zero - by El Forum - 04-12-2012, 10:56 AM
update setting all fields to zero - by El Forum - 04-13-2012, 01:07 PM
update setting all fields to zero - by El Forum - 04-13-2012, 01:18 PM
update setting all fields to zero - by El Forum - 04-13-2012, 01:31 PM
update setting all fields to zero - by El Forum - 04-13-2012, 01:33 PM
update setting all fields to zero - by El Forum - 04-13-2012, 01:45 PM
update setting all fields to zero - by El Forum - 04-13-2012, 02:27 PM
update setting all fields to zero - by El Forum - 04-13-2012, 04:02 PM
update setting all fields to zero - by El Forum - 04-15-2012, 04:09 AM
update setting all fields to zero - by El Forum - 04-15-2012, 03:17 PM
update setting all fields to zero - by El Forum - 04-16-2012, 09:56 AM



Theme © iAndrew 2016 - Forum software by © MyBB