note 34670 added to function.dbx-escape-string

From: Date: Sun, 03 Aug 2003 12:52:04 +0000
Subject: note 34670 added to function.dbx-escape-string
Groups: php.notes 
Request: Send a blank email to php-notes+get-53258@lists.php.net to get a copy of this message
I don't know if this is a bug or a feature but your string will get escaped twice with this code: $value = dbx_escape_string($link, $_REQUEST['key']); dbx_query($link, "insert into table (key) values ('$value')"); ---- Manual Page -- http://www.php.net/manual/en/function.dbx-escape-string.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+34670 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+34670&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+34670&report=yes

« previous php.notes (#53258) next »