what is the reverse function for mysql_real_escape_string? or there is none?

    There is none... but you can use [man]addslashes/man or even [man]str_replace/man to do it yourself. The manual on [man]mysql_real_escape_string/man offers some more guidance on how to use it...

      There is none. You don't need to use one. You should only ever use mysql_escape_string just before putting something into a MySQL query. When the data come back out of the database, they will be in their original form.

      Mark

        Write a Reply...