mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Fixed wrong variable name used in the example code.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327812 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
4ff7ef044b
commit
1d410ffe5d
1 changed files with 1 additions and 1 deletions
|
@ -163,7 +163,7 @@ $sth->execute();
|
|||
/* Execute a prepared statement using an array of values for an IN clause */
|
||||
$params = array(1, 21, 63, 171);
|
||||
/* Create a string for the parameter placeholders filled to the number of params */
|
||||
$place_holders = implode(',', array_fill(0, count($values), '?'));
|
||||
$place_holders = implode(',', array_fill(0, count($params), '?'));
|
||||
|
||||
/*
|
||||
This prepares the statement with enough unnamed placeholders for every value
|
||||
|
|
Loading…
Reference in a new issue