note 103885 added to mysqli.prepare
| From: | me at JoshDuff dot com | Date: | Mon, 09 May 2011 06:55:30 +0000 |
| Subject: | note 103885 added to mysqli.prepare | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-179555@lists.php.net to get a copy of this message | ||
David Kramer and Codeguy are correct, and prwexler and Adam are misguided. The purpose of
mysqli::prepare is to wrap up MySQL's prepared statement functionality, not to provide a
superior query-writing interface.
Here is a bit more detail on the subject, explaining what happens in the background when you use
prepared statements: http://joshduff.com/270/why-you-should-not-be-using-mysqli-prepare
----
Server IP: 208.69.120.55
Probable Submitter: 76.85.184.113
----
Manual Page -- http://www.php.net/manual/en/mysqli.prepare.php
Edit -- https://master.php.net/note/edit/103885
Del: integrated -- https://master.php.net/note/delete/103885/integrated
Del: useless -- https://master.php.net/note/delete/103885/useless
Del: bad code -- https://master.php.net/note/delete/103885/bad+code
Del: spam -- https://master.php.net/note/delete/103885/spam
Del: non-english -- https://master.php.net/note/delete/103885/non-english
Del: in docs -- https://master.php.net/note/delete/103885/in+docs
Del: other reasons-- https://master.php.net/note/delete/103885
Reject -- https://master.php.net/note/reject/103885
Search -- https://master.php.net/manage/user-notes.php