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 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. Link to comment https://forums.phpfreaks.com/topic/245153-small-sql/#findComment-1259200 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.