Welcome Guest, Not a member yet? Register   Sign In
Resetting the value of $this
#9

[eluser]Aken[/eluser]
Why are you using $this as a second parameter of the update() method? That's where your problem is coming from - you don't need that. The second parameter is for data (aka the columns) that you want to update. If you're using set(), you don't need to supply data also.

You could make this simple update using the update() method all by itself. Check the docs.


Messages In This Thread
Resetting the value of $this - by El Forum - 02-27-2012, 06:13 PM
Resetting the value of $this - by El Forum - 02-27-2012, 06:59 PM
Resetting the value of $this - by El Forum - 02-27-2012, 07:17 PM
Resetting the value of $this - by El Forum - 02-27-2012, 07:59 PM
Resetting the value of $this - by El Forum - 02-27-2012, 08:16 PM
Resetting the value of $this - by El Forum - 02-27-2012, 08:36 PM
Resetting the value of $this - by El Forum - 02-27-2012, 09:03 PM
Resetting the value of $this - by El Forum - 02-27-2012, 09:28 PM
Resetting the value of $this - by El Forum - 02-27-2012, 09:46 PM
Resetting the value of $this - by El Forum - 02-27-2012, 09:56 PM
Resetting the value of $this - by El Forum - 02-27-2012, 10:03 PM



Theme © iAndrew 2016 - Forum software by © MyBB