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? 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 ... 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
Archived
This topic is now archived and is closed to further replies.