Code: Select all
mysql_query("INSERT INTO photocomment
(from,comment,photo) VALUES('$me','$_POST[photocomment]','$_POST[photoname]') ")
Code: Select all
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'from,comment,photo) VALUES('matt covell','maybe?','1314041884-180674_10150395951' at line 2