Simple MySQL Problem...

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
oscardog
Forum Contributor
Posts: 245
Joined: Thu Oct 23, 2008 4:43 pm

Simple MySQL Problem...

Post 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
Mark Baker
Forum Regular
Posts: 710
Joined: Thu Oct 30, 2008 6:24 pm

Re: Simple MySQL Problem...

Post by Mark Baker »

Try without the opening bracket before morning
oscardog
Forum Contributor
Posts: 245
Joined: Thu Oct 23, 2008 4:43 pm

Re: Simple MySQL Problem...

Post by oscardog »

Thanks haha like i said, im special ;)
Post Reply