Go4Expert

Go4Expert (http://www.go4expert.com/)
-   PHP (http://www.go4expert.com/forums/php/)
-   -   Incorrect query: You have an error in your SQL syntax; check the manual that correspo (http://www.go4expert.com/forums/incorrect-query-error-sql-syntax-check-t13093/)

jackparsons 20Aug2008 16:02

Incorrect query: You have an error in your SQL syntax; check the manual that correspo
 
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

franc14529 22Aug2008 00:58

Re: Incorrect query: You have an error in your SQL syntax; check the manual that correspo
 
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

pradeep 22Aug2008 18:02

Re: Incorrect query: You have an error in your SQL syntax; check the manual that correspo
 
Use the addslashes function to escape the ' present in the input.


All times are GMT +5.5. The time now is 00:12.