note 102459 deleted from function.mysql-real-escape-string by danbrown

From: Date: Wed, 16 Feb 2011 13:55:27 +0000
Subject: note 102459 deleted from function.mysql-real-escape-string by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-177024@lists.php.net to get a copy of this message
Note Submitter: Sasho ---- I had a problem that mysql_real_escape_string returned empty string This worked for me. function mysql_fix($str) { include 'db.php'; return mysql_real_escape_string(stripslashes($str), $conn); }

« previous php.notes (#177024) next »