cvs: phpdoc /en/reference/pdo/functions PDOStatement-execute.xml

From: Date: Thu, 07 Jul 2005 15:58:48 +0000
Subject: cvs: phpdoc /en/reference/pdo/functions PDOStatement-execute.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969368985@lists.php.net to get a copy of this message
vrana Thu Jul 7 11:58:48 2005 EDT Modified files: /phpdoc/en/reference/pdo/functions PDOStatement-execute.xml Log: Too many binding http://cvs.php.net/diff.php/phpdoc/en/reference/pdo/functions/PDOStatement-execute.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc/en/reference/pdo/functions/PDOStatement-execute.xml diff -u phpdoc/en/reference/pdo/functions/PDOStatement-execute.xml:1.3 phpdoc/en/reference/pdo/functions/PDOStatement-execute.xml:1.4 --- phpdoc/en/reference/pdo/functions/PDOStatement-execute.xml:1.3 Tue Nov 16 15:12:45 2004 +++ phpdoc/en/reference/pdo/functions/PDOStatement-execute.xml Thu Jul 7 11:58:47 2005 @@ -1,5 +1,5 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- Generated by xml_proto.php v2.1. Found in /scripts directory of phpdoc. --> <refentry id="function.PDOStatement-execute"> <refnamediv> @@ -54,8 +54,6 @@ $sth = $dbh->prepare('SELECT name, colour, calories FROM fruit WHERE calories < :calories AND colour = :colour'); -$sth->bindParam(':calories', $calories, PDO_PARAM_INT); -$sth->bindParam(':colour', $colour, PDO_PARAM_STR, 12); $sth->execute(array(':calories' => $calories, ':colour' => $colour)); ?> ]]>

« previous php.doc (#969368985) next »