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

From: Date: Tue, 22 Mar 2005 21:52:46 +0000
Subject: cvs: phpdoc /en/reference/pdo/functions PDO-prepare.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969367061@lists.php.net to get a copy of this message
dbs Tue Mar 22 16:52:46 2005 EDT Modified files: /phpdoc/en/reference/pdo/functions PDO-prepare.xml Log: Add restriction against using named and ? params in a single SQL statement. http://cvs.php.net/diff.php/phpdoc/en/reference/pdo/functions/PDO-prepare.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc/en/reference/pdo/functions/PDO-prepare.xml diff -u phpdoc/en/reference/pdo/functions/PDO-prepare.xml:1.4 phpdoc/en/reference/pdo/functions/PDO-prepare.xml:1.5 --- phpdoc/en/reference/pdo/functions/PDO-prepare.xml:1.4 Sat Feb 5 13:52:58 2005 +++ phpdoc/en/reference/pdo/functions/PDO-prepare.xml Tue Mar 22 16:52:46 2005 @@ -1,5 +1,5 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- Generated by xml_proto.php v2.1. Found in /scripts directory of phpdoc. --> <refentry id="function.PDO-prepare"> <refnamediv> @@ -22,6 +22,8 @@ <function>PDOStatement::execute</function> method. The SQL statement can contain zero or more named (:name) or question mark (?) parameter markers for which real values will be substituted when the statement is executed. + You cannot use named and question mark parameter markers within the same + SQL statement. </para> <para> Calling <function>PDO::prepare</function> and <function>PDOStatement::execute</function>

« previous php.doc (#969367061) next »