note 91078 modified in pdo.prepare by danbrown
| From: | danbrown@php.net | Date: | Wed, 23 Mar 2011 15:34:24 +0000 |
| Subject: | note 91078 modified in pdo.prepare by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-178132@lists.php.net to get a copy of this message | ||
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().
--was--
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().
http://php.net/manual/en/pdo.prepare.php