who_cares Posted December 9, 2005 Share Posted December 9, 2005 I wrote the file [a href=\"http://who-cares.pastebin.com/457538\" target=\"_blank\"]here[/a] to select movies from a database. I'm working on the code to add a new movie but it always dies: [!--quoteo--][div class=\'quotetop\']QUOTE[/div][div class=\'quotemain\'][!--quotec--]Query failed: 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 '(created, title, director, genre) INTO movies VALUES ( Any ideas on how to fix this? Quote Link to comment https://forums.phpfreaks.com/topic/3012-i-did-something-wrong-with-this-query/ Share on other sites More sharing options...
ryanlwh Posted December 9, 2005 Share Posted December 9, 2005 it's INSERT INTO movies (created, title, director, genre) VALUES ... Quote Link to comment https://forums.phpfreaks.com/topic/3012-i-did-something-wrong-with-this-query/#findComment-10105 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.