Justin Patrin <mailto:[EMAIL PROTECTED]>
    on Wednesday, June 30, 2004 11:10 AM said:

> mysql_escape_string() and mysql_real_escape_string() do the escaping
> as mysql needs it. In addition, you can use PEAR::DB's quoteSmart to
> quote and it will change depending on the DB backend you're using.

<nod />

> Then you must be getting clashes added twice. Have you tried looking
> at the string before running addslashes on it? After running
> addslashes? You likely have magic_quotes_gpc turned on. The
> overhwelming majority of seasoned PHP developers turn this off as it's
> more of a nuisance. If you need more info, search the list archives.

magic_quotes_gpc is likely the reason.



chris.

p.s. does everyone but me have a gmail account or what??

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to