Ben wrote:
My understanding is that mysql_real_escape_string will only work while you are connected to mysql. Not sure if that is the case in your situation.
At least it requires a connection to mysql. I had an error, when using it without any connection opened before, that mysql_real_escape_string wants to connect to the DB as ODBC@localhost without any password.
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php