note 59945 added to function.mysqli-prepare
| From: | DavidKramer at osu1 dot php dot net | Date: | Tue, 20 Dec 2005 20:50:43 +0000 |
| Subject: | note 59945 added to function.mysqli-prepare | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-100489@lists.php.net to get a copy of this message | ||
I don't think these are good examples, because the primary use of prepared queries is when you
are going to call the same query in a loop, plugging in different values each time. For instance,
if you were generating a report and needed to run the same query for each line, tweaking the values
in the WHERE clause, or importing data from another system.
----
Manual Page -- http://www.php.net/manual/en/function.mysqli-prepare.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+59945
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+59945&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+59945&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+59945&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+59945&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+59945&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+59945&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+59945&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+59945&report=yes
Search -- http://master.php.net/manage/user-notes.php