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

[eluser]nydeveloper[/eluser]
Quote: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.

That was the problem. I based my code off of a bad example initially... big mistake obviously. Thank you so much!!!


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