Incorrect query: You have an error in your SQL syntax; check the manual that correspo

Newbie Member
20Aug2008,16:02   #1
jackparsons's Avatar
Hi All

I have a search engine. When I type in ' i get this error

Incorrect query:
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
[STOPED]

Can anyone help me fix this, in return i will give you a copy of the search engine for free

Email me at jackparsons2@yahoo.com

Jack
Light Poster
22Aug2008,00:58   #2
franc14529's Avatar
Quote:
Originally Posted by jackparsons
Hi All

I have a search engine. When I type in ' i get this error

Incorrect query:
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
[STOPED]

Can anyone help me fix this, in return i will give you a copy of the search engine for free

Email me at jackparsons2@yahoo.com

Jack

hi i work with plsql oracle and tsql sql server.why you dont just post the querry causing the error so i can fix it and help you by the way

best regards
francois saab
Team Leader
22Aug2008,18:02   #3
pradeep's Avatar
Use the addslashes function to escape the ' present in the input.