php - reverse mysql_real_escape_string -
I have a piece of data which is large and may include quotations and double quotes.
I am using mysql_real_escape_string ()
to securely store it.
When I pull it to see it, all quotes are preserved. I tried to use str_replace
to get rid of all the codes, but it converts \ r \ n
to rn
. : (
How can I reverse it, where is the data coming back?
Do you use magic quotes?
Note: If magic_quotes_gpc is enabled, first apply data to Stripsus (). By using this function on [mysql_real_escape_string] data which The two saved data will be saved twice.
Comments
Post a Comment