cvs: peardoc /en/package/database/db/db-common execute.xml
| From: | Daniel Convissor | Date: | Wed, 28 Apr 2004 03:50:30 +0000 |
| Subject: | cvs: peardoc /en/package/database/db/db-common execute.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-3749@lists.php.net to get a copy of this message | ||
danielc Tue Apr 27 23:50:30 2004 EDT
Modified files:
/peardoc/en/package/database/db/db-common execute.xml
Log:
Fix $data parameter information.
http://cvs.php.net/diff.php/peardoc/en/package/database/db/db-common/execute.xml?r1=1.25&r2=1.26&ty=u
Index: peardoc/en/package/database/db/db-common/execute.xml
diff -u peardoc/en/package/database/db/db-common/execute.xml:1.25
peardoc/en/package/database/db/db-common/execute.xml:1.26
--- peardoc/en/package/database/db/db-common/execute.xml:1.25 Fri Apr 16 00:45:49 2004
+++ peardoc/en/package/database/db/db-common/execute.xml Tue Apr 27 23:50:30 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1" ?>
-<!-- $Revision: 1.25 $ -->
+<!-- $Revision: 1.26 $ -->
<refentry id="package.database.db.db-common.execute">
<refnamediv>
@@ -15,7 +15,7 @@
resource <parameter>$stmt</parameter>
</paramdef>
<paramdef>
- array <parameter>$data</parameter>
+ mixed <parameter><optional>$data = array()</optional></parameter>
</paramdef>
</funcprototype>
</funcsynopsis>
@@ -52,13 +52,15 @@
</varlistentry>
<varlistentry>
<term>
- &type.array;
+ &type.mixed;
<parameter>array $data</parameter>
</term>
<listitem>
<para>
- a numeric array containing the
- data to insert into the query
+ array, string or numeric data to be added to the prepared statement.
+ Quantity of items passed must match quantity of placeholders in the
+ prepared statement: meaning 1 placeholder for non-array
+ parameters or 1 placeholder per array element.
</para>
</listitem>
</varlistentry>