note 103885 deleted from mysqli.prepare by danbrown
| From: | danbrown@php.net | Date: | Wed, 11 May 2011 15:38:28 +0000 |
| Subject: | note 103885 deleted from mysqli.prepare by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-179613@lists.php.net to get a copy of this message | ||
Note Submitter: me at JoshDuff dot com
----
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