Dotan Cohen wrote on 2009-10-20 20:06:

if(mysql_real_escape_string($variable) === false)
    // create a default DB connection

Here, the key seems to be to turn the warning level down, which I do
not have privileges to do on this server. But it fact this seems to be
the key that I was missing, and even though I cannot make use of it at
least I know in general what needs to be done.

if(@mysql_real_escape_string($variable) === false)


Kind regards
Kim Emax -

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to