From 6d0afd7f43371512f521170548eece8a811759c2 Mon Sep 17 00:00:00 2001 From: Dan Scott Date: Tue, 22 Mar 2005 21:52:46 +0000 Subject: [PATCH] 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 --- reference/pdo/functions/PDO-prepare.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/reference/pdo/functions/PDO-prepare.xml b/reference/pdo/functions/PDO-prepare.xml index ea299018ab..4ef54229cc 100644 --- a/reference/pdo/functions/PDO-prepare.xml +++ b/reference/pdo/functions/PDO-prepare.xml @@ -1,5 +1,5 @@ - + @@ -22,6 +22,8 @@ PDOStatement::execute 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. Calling PDO::prepare and PDOStatement::execute