note 80097 rejected from function.mysql-real-escape-string by nlopess

From: Date: Sat, 29 Dec 2007 11:29:25 +0000
Subject: note 80097 rejected from function.mysql-real-escape-string by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-134099@lists.php.net to get a copy of this message
Note Submitter: gas dot fusion at gmail dot com ---- Is there some sort of a bug in mysql_real_escape_string()? I have a script that performs error logging which has been entering blanks in the log table. I came to find out that mysql_real_escape_string() simply removed entire string instead of removing invalid characters. My table's using utf8_general_ci collation and i'm using PHP 5.

« previous php.notes (#134099) next »