dropfaith Posted September 3, 2008 Share Posted September 3, 2008 my eyes hurt rom writing code today im sure this is obvious but i cant see it $rt=mysql_query("insert into gallery (Title, Cat, Photographer, Makeup, Hair, Wardrobe, uploaded, $destination) values('$Title','$Cat','$Photographer','$Makeup','$Hair','$Wardrobe','$uploaded','$destination')") or die(mysql_error()); Link to comment https://forums.phpfreaks.com/topic/122631-solved-error-in-your-sql-syntax/ Share on other sites More sharing options...
.josh Posted September 3, 2008 Share Posted September 3, 2008 I'm guessing you used $destination instead of destination as your column name. Link to comment https://forums.phpfreaks.com/topic/122631-solved-error-in-your-sql-syntax/#findComment-633189 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.