Doc #54359 [Asn->Csd]: colons missing in prepare doc example 1
| From: | danbrown@php.net | Date: | Wed, 23 Mar 2011 15:29:16 +0000 |
| Subject: | Doc #54359 [Asn->Csd]: colons missing in prepare doc example 1 | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-6129@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=54359&edit=1
ID: 54359
Updated by: danbrown@php.net
Reported by: asylow at free dot fr
Summary: colons missing in prepare doc example 1
-Status: Assigned
+Status: Closed
Type: Documentation Problem
Package: Documentation problem
PHP Version: Irrelevant
Assigned To: danbrown
Block user comment: N
Private report: N
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation
better.
Previous Comments:
------------------------------------------------------------------------
[2011-03-23 16:26:05] salathe@php.net
Automatic comment from SVN on behalf of salathe
Revision: http://svn.php.net/viewvc/?view=revision&revision=309604
Log: second missing colon (re #54359)
------------------------------------------------------------------------
[2011-03-23 16:21:57] danbrown@php.net
Automatic comment from SVN on behalf of danbrown
Revision: http://svn.php.net/viewvc/?view=revision&revision=309602
Log: Fixes bug #54359.
------------------------------------------------------------------------
[2011-03-23 11:11:30] asylow at free dot fr
Description:
------------
---
From manual page: http://www.php.net/pdo.prepare#Exemples
---
Colons are missing to the named parameters in the "yellow" exemple.
$sth->execute(array(':calories' => 150, ':colour' => 'red'));
$red = $sth->fetchAll();
$sth->execute(array('calories' => 175, 'colour' =>
'yellow'));
$yellow = $sth->fetchAll();
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=54359&edit=1