note 98277 deleted from function.mysql-real-escape-string by degeberg

From: Date: Sun, 06 Jun 2010 22:57:31 +0000
Subject: note 98277 deleted from function.mysql-real-escape-string by degeberg
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-169927@lists.php.net to get a copy of this message
Note Submitter: Nicolas Duhamel Reason: in docs ---- As i've struggled for several hours without finding out why mysql_real_escape_string() would not work on my page sometimes, and sometimes would, i thought i'd post this: you MUST have an active connection with your mysql server in order for this function to work. It's written in the function description, but it wasn't obvious to me, so I think other people might get into that trap too.

« previous php.notes (#169927) next »