mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Fixes bug #54359.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@309602 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
834e755b8d
commit
82d3853c2c
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ $sql = 'SELECT name, colour, calories
|
|||
$sth = $dbh->prepare($sql, array(PDO::ATTR_CURSOR => PDO::CURSOR_FWDONLY));
|
||||
$sth->execute(array(':calories' => 150, ':colour' => 'red'));
|
||||
$red = $sth->fetchAll();
|
||||
$sth->execute(array('calories' => 175, 'colour' => 'yellow'));
|
||||
$sth->execute(array('calories' => 175, ':colour' => 'yellow'));
|
||||
$yellow = $sth->fetchAll();
|
||||
?>
|
||||
]]>
|
||||
|
|
Loading…
Reference in a new issue