cvs: phpdoc /en/reference/pdo/functions PDO-prepare.xml

From: Date: Mon, 22 Jan 2007 01:12:14 +0000
Subject: cvs: phpdoc /en/reference/pdo/functions PDO-prepare.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969374942@lists.php.net to get a copy of this message
didou Mon Jan 22 01:12:14 2007 UTC Modified files: /phpdoc/en/reference/pdo/functions PDO-prepare.xml Log: Fix #37401: Show that we can also lose the : before the parameter name http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pdo/functions/PDO-prepare.xml?r1=1.14&r2=1.15&diff_format=u Index: phpdoc/en/reference/pdo/functions/PDO-prepare.xml diff -u phpdoc/en/reference/pdo/functions/PDO-prepare.xml:1.14 phpdoc/en/reference/pdo/functions/PDO-prepare.xml:1.15 --- phpdoc/en/reference/pdo/functions/PDO-prepare.xml:1.14 Thu Jan 18 15:30:06 2007 +++ phpdoc/en/reference/pdo/functions/PDO-prepare.xml Mon Jan 22 01:12:14 2007 @@ -1,5 +1,5 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.14 $ --> +<!-- $Revision: 1.15 $ --> <refentry id="function.PDO-prepare"> <refnamediv> <refname>PDO->prepare()</refname> @@ -103,7 +103,7 @@ $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(); ?> ]]>

« previous php.doc (#969374942) next »