mysql_query("INSERT INTO code_archive (`name`,`title`,`time`,`content`) VALUES ('$_POST[name]','$_POST[title]',time(),'$_POST[content]')") or die(mysql_error());
The exact error is this:
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 '),'This is a test.')' at line 2
Any help will be appreciated!
This post has been edited by UnknownCoder: 14 July 2009 - 03:25 PM

New Topic/Question
Reply



MultiQuote





|