note 92925 added to pdo.quote
| From: | thelastatlante at osu1 dot php dot net | Date: | Fri, 14 Aug 2009 22:27:11 +0000 |
| Subject: | note 92925 added to pdo.quote | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-159499@lists.php.net to get a copy of this message | ||
For all ex-users of "mysql_real_escape_string()", contrary to this function
"PDO::quote" escapes the characters '_' et '%' too.
So, no need to escape this characters yourself !!!
----
Server IP: 213.246.51.26
Probable Submitter: 93.1.188.128
----
Manual Page -- http://www.php.net/manual/en/pdo.quote.php
Edit -- https://master.php.net/note/edit/92925
Del: integrated -- https://master.php.net/note/delete/92925/integrated
Del: useless -- https://master.php.net/note/delete/92925/useless
Del: bad code -- https://master.php.net/note/delete/92925/bad+code
Del: spam -- https://master.php.net/note/delete/92925/spam
Del: non-english -- https://master.php.net/note/delete/92925/non-english
Del: in docs -- https://master.php.net/note/delete/92925/in+docs
Del: other reasons-- https://master.php.net/note/delete/92925
Reject -- https://master.php.net/note/reject/92925
Search -- https://master.php.net/manage/user-notes.php