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>