note 107499 added to function.mysql-real-escape-string
| From: | jeff at lindenlab dot com | Date: | Tue, 14 Feb 2012 01:35:18 +0000 |
| Subject: | note 107499 added to function.mysql-real-escape-string | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-186111@lists.php.net to get a copy of this message | ||
Yes, this means that you have to start a connection before you can escape data... you can't
escape the data first, and then use it to build your SQL, and then connect.
Be aware of this when you're designing objects and architecture.
----
Server IP: 69.147.83.197
Probable Submitter: 50.0.136.163
----
Manual Page -- http://www.php.net/manual/en/function.mysql-real-escape-string.php
Edit -- https://master.php.net/note/edit/107499
Del: integrated -- https://master.php.net/note/delete/107499/integrated
Del: useless -- https://master.php.net/note/delete/107499/useless
Del: bad code -- https://master.php.net/note/delete/107499/bad+code
Del: spam -- https://master.php.net/note/delete/107499/spam
Del: non-english -- https://master.php.net/note/delete/107499/non-english
Del: in docs -- https://master.php.net/note/delete/107499/in+docs
Del: other reasons-- https://master.php.net/note/delete/107499
Reject -- https://master.php.net/note/reject/107499
Search -- https://master.php.net/manage/user-notes.php