954,514 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

You have an error in your SQL syntax; check the manual that corresponds to your MySQL

I have this 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
and I don't know how does this happen because whenever I check the SQL that I have made including the inserted data, it shows no error..

How does this happen..

Need Help..

Thanks

jbutardo
Junior Poster in Training
73 posts since Jan 2012
Reputation Points: 8
Solved Threads: 1
 

Are you including variables in your string? Syntax errors are easy to get if you don't watch your spaces and accidentally concatenate some text together.
Of course, you haven't posted up your SQL query so we can't give you very accurate advice.

hericles
Practically a Posting Shark
823 posts since Nov 2007
Reputation Points: 136
Solved Threads: 167
 
Are you including variables in your string? Syntax errors are easy to get if you don't watch your spaces and accidentally concatenate some text together. Of course, you haven't posted up your SQL query so we can't give you very accurate advice.

I have a wrong SQL query in the program, I have found it and now it works..

jbutardo
Junior Poster in Training
73 posts since Jan 2012
Reputation Points: 8
Solved Threads: 1
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: