Posted by Norbert Wenzel on 10/14/05 21:46
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.
[Back to original message]
|