cvs: peardoc /en/package/database/db/db-common query.xml
| From: | Daniel Convissor | Date: | Mon, 26 Jan 2004 23:51:57 +0000 |
| Subject: | cvs: peardoc /en/package/database/db/db-common query.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-2185@lists.php.net to get a copy of this message | ||
danielc Mon Jan 26 18:51:57 2004 EDT
Modified files:
/peardoc/en/package/database/db/db-common query.xml
Log:
Clarify throws need more data.
http://cvs.php.net/diff.php/peardoc/en/package/database/db/db-common/query.xml?r1=1.10&r2=1.11&ty=u
Index: peardoc/en/package/database/db/db-common/query.xml
diff -u peardoc/en/package/database/db/db-common/query.xml:1.10
peardoc/en/package/database/db/db-common/query.xml:1.11
--- peardoc/en/package/database/db/db-common/query.xml:1.10 Mon Jan 26 17:30:53 2004
+++ peardoc/en/package/database/db/db-common/query.xml Mon Jan 26 18:51:56 2004
@@ -1,4 +1,4 @@
-<!-- $Revision: 1.10 $ -->
+<!-- $Revision: 1.11 $ -->
<refentry id="package.database.db.db-common.query">
<refnamediv>
<refname>DB_Common::query()</refname>
@@ -108,14 +108,15 @@
&null;
</entry>
<entry>
- Quantity of parameters didn't match quantity of placeholders in the prepared
statment.
+ Quantity of parameters didn't match quantity of placeholders in
+ the prepared statment.
</entry>
<entry>
- Check the number of placeholders given in the SQL statement
+ Check that the number of placeholders in the
<link linkend="package.database.db.db-common.prepare">
- <function>prepare</function></link>. Check the count of
- entries in the array for <parameter>$params</parameter>. The count
- of entries have to be equal to the number of wild cards.
+ <function>prepare</function></link> statement passed to
+ <parameter>$query</parameter> equals the count of entries
+ passed to <parameter>$params</parameter>.
</entry>
</row>
<row>