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

jackparsons's Avatar, Join Date: Aug 2008
Newbie Member
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
0
franc14529's Avatar, Join Date: Aug 2008
Light Poster
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
0
pradeep's Avatar, Join Date: Apr 2005
Team Leader
Use the addslashes function to escape the ' present in the input.