I just moved to a new hosting company and now whenever a string gets escaped using:
mysql_real_escape_string($str);
the slashes remain in the
The host that you've moved probably has magic_quotes_runtime turned on. You can turn it off with set_magic_quotes_runtime(0).
magic_quotes_runtime
set_magic_quotes_runtime(0)
Please turn off magic_quotes_runtime, and then change your code to use bind variables, rather than using the string escaping.