Problem with backslash on query

View: New views
1 Messages — Rating Filter:   Alert me  

Problem with backslash on query

by Chrys :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I cannot run sql queries to phpMyAdmin (remote host) because every time I try to run a query backslashes are added before double quotes.  

Example:
 
SELECT * FROM `actions` WHERE type="comment";
 
I get the following error message:
 
There seems to be an error in your SQL query. The MySQL server error output below, if there is any, may also help you in diagnosing the problem
 
ERROR: Unknown Punctuation String @ 35
STR: =\
SQL: SELECT * FROM `actions` WHERE type=\"comment\";
 
 
SQL query: Documentation
 
SELECT * FROM `actions` WHERE type=\"comment\";
 
MySQL said: Documentation
#1064 - 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 '\"comment\"' at line 1