imdead Posted August 18, 2011 Share Posted August 18, 2011 Hey, could anybody tell me whats wrong with this sql? I know it's just a tiny error and i'm gunna kick myself after but i've wrote so much code today i just can't find it $result = ("UPDATE users SET 'about' = '$about', 'interested' = '$interested', 'relationship' = '$relationship', 'gender' = '$gender' WHERE username = '$user'"); Thanks in advanced Quote Link to comment https://forums.phpfreaks.com/topic/245153-small-sql/ Share on other sites More sharing options...
The Little Guy Posted August 18, 2011 Share Posted August 18, 2011 you are placing quotes around column names. Quote Link to comment https://forums.phpfreaks.com/topic/245153-small-sql/#findComment-1259200 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.