Page 1 of 1

Simple MySQL Problem...

Posted: Sun Dec 14, 2008 5:49 pm
by oscardog
This has been annoying me for the last 15-20mins, i have tried EVERYTHING... single quotes, no quotes... I really am stumped and google was no use ;)

Code: Select all

mysql_query("UPDATE members SET (morning = '$morningsetting', evening = '$eveningsetting', settings = '$set' WHERE username = '$usercheck'");
I know, im 'special' :D

Re: Simple MySQL Problem...

Posted: Sun Dec 14, 2008 5:56 pm
by Mark Baker
Try without the opening bracket before morning

Re: Simple MySQL Problem...

Posted: Sun Dec 14, 2008 5:57 pm
by oscardog
Thanks haha like i said, im special ;)