Glasses Posted May 26, 2011 Share Posted May 26, 2011 I have a noob question What does this mean? QUERY ERROR: 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 '' at line 1 Query was SELECT * FROM courses WHERE crID= Cheers Quote Link to comment Share on other sites More sharing options...
Kieran-R Posted May 26, 2011 Share Posted May 26, 2011 It mean that in your MySQL query, the value after 'crID=' does not exist. Look for the query in your PHP code, and try check for a problem with that value. Quote Link to comment Share on other sites More sharing options...
a_bertrand Posted May 26, 2011 Share Posted May 26, 2011 it means simply you don't supply the value to the crID whatever it is... maybe your script should receive from a GET or POST? Quote Link to comment 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.