note 91078 added to pdo.prepare
| From: | daniel dot egeberg at gmail dot com | Date: | Sun, 24 May 2009 08:06:09 +0000 |
| Subject: | note 91078 added to pdo.prepare | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-155918@lists.php.net to get a copy of this message | ||
In addition to what "admin at wdfa dot co dot uk" said, you can also pass an array of
values to PDOStatement::execute(). This is also secured against SQL injection. You don't
necessarily have to use bindParam() or bindValue().
----
Server IP: 195.184.96.15
Probable Submitter: 85.218.171.86
----
Manual Page -- http://www.php.net/manual/en/pdo.prepare.php
Edit -- https://master.php.net/note/edit/91078
Del: integrated -- https://master.php.net/note/delete/91078/integrated
Del: useless -- https://master.php.net/note/delete/91078/useless
Del: bad code -- https://master.php.net/note/delete/91078/bad+code
Del: spam -- https://master.php.net/note/delete/91078/spam
Del: non-english -- https://master.php.net/note/delete/91078/non-english
Del: in docs -- https://master.php.net/note/delete/91078/in+docs
Del: other reasons-- https://master.php.net/note/delete/91078
Reject -- https://master.php.net/note/reject/91078
Search -- https://master.php.net/manage/user-notes.php