mysql_real_escape_string is storing the data in the database along with backslashes

Posted by pks83 on Stack Overflow See other posts from Stack Overflow or by pks83
Published on 2010-05-14T11:46:09Z Indexed on 2010/05/14 12:24 UTC
Read the original article Hit count: 233

When i am using mysql_real_escape_string on my unescaped strings the data in the database is storing with the backslashes which should not happen.

I have magic_quotes_gpc OFF not sure why this is happening. Any idea ?

Is there any setting in the mysql database which needs to be modified.

I am not using addslashes any where in the code. PHP language.

Please help.

© Stack Overflow or respective owner

Related posts about mysql-real-escape-string

Related posts about php