Add restriction against using named and ? params in a single SQL statement.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@182664 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Dan Scott 2005-03-22 21:52:46 +00:00
parent e306d2a550
commit 6d0afd7f43

View file

@ -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>