Sorrow Posted September 25, 2008 Share Posted September 25, 2008 Hi everyone . Here i just cant find whats wrong with this query: "INSERT INTO Release (relTitle,relDirector,relTrailer,relCase,relDate) VALUES ('$_POST[dvdTitle]','$_POST[dvdDirector]','$_POST[dvdTrailer]','$_POST[dvdCase]','$_POST[dvdRelease]')"; Quote Link to comment https://forums.phpfreaks.com/topic/125862-whats-wrong/ Share on other sites More sharing options...
peranha Posted September 25, 2008 Share Posted September 25, 2008 Do you get any errors?? Quote Link to comment https://forums.phpfreaks.com/topic/125862-whats-wrong/#findComment-650828 Share on other sites More sharing options...
AndyB Posted September 25, 2008 Share Posted September 25, 2008 http://dev.mysql.com/doc/refman/5.0/en/reserved-words.html release is a reserved word in MySQL. Avoid naming tables or record fields with reserved words. Quote Link to comment https://forums.phpfreaks.com/topic/125862-whats-wrong/#findComment-650829 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.