note 49996 added to function.mysql-real-escape-string

From: Date: Tue, 15 Feb 2005 00:19:01 +0000
Subject: note 49996 added to function.mysql-real-escape-string
Groups: php.notes 
Request: Send a blank email to php-notes+get-85036@lists.php.net to get a copy of this message
As Loopy points out below... this function can be finiky about returning results when no dbLink resource is given. Even though the function works without the dblink at times, I would put in the link with every call. For me, the function was returning an empty string without the dbLink, and returned the correct string with. ---- Manual Page -- http://www.php.net/manual/en/function.mysql-real-escape-string.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+49996 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+49996&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+49996&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+49996&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+49996&report=yes&reason=useless Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+49996&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+49996&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#85036) next »