dbs Wed Dec 7 11:11:25 2005 EDT
Modified files:
/phpdoc/en/reference/ibm_db2/functions db2-bind-param.xml
db2-fetch-array.xml
Log:
Correct db2_fetch_assoc() reference in db2_fetch_array().
Prevent E_STRICT notice in db2_bind_param() example.
http://cvs.php.net/diff.php/phpdoc/en/reference/ibm_db2/functions/db2-bind-param.xml?r1=1.8&r2=1.9&ty=u
Index: phpdoc/en/reference/ibm_db2/functions/db2-bind-param.xml
diff -u phpdoc/en/reference/ibm_db2/functions/db2-bind-param.xml:1.8
phpdoc/en/reference/ibm_db2/functions/db2-bind-param.xml:1.9
--- phpdoc/en/reference/ibm_db2/functions/db2-bind-param.xml:1.8 Thu Oct
6 10:53:20 2005
+++ phpdoc/en/reference/ibm_db2/functions/db2-bind-param.xml Wed Dec 7
11:11:22 2005
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.8 $ -->
+<!-- $Revision: 1.9 $ -->
<!-- Generated by xml_proto.php v2.2. Found in /scripts directory of phpdoc.
-->
<refentry id="function.db2-bind-param">
<refnamediv>
@@ -205,6 +205,8 @@
$name = "Peaches";
$second_name = "Rickety Ride";
+$weight = 0;
+
db2_bind_param($stmt, 1, "name", DB2_PARAM_IN);
db2_bind_param($stmt, 2, "second_name", DB2_PARAM_INOUT);
db2_bind_param($stmt, 3, "weight", DB2_PARAM_OUT);
@@ -228,7 +230,7 @@
<screen>
<![CDATA[
Values of bound parameters _before_ CALL:
- 1: Peaches 2: Rickety Ride 3:
+ 1: Peaches 2: Rickety Ride 3: 0
Values of bound parameters _after_ CALL:
1: Peaches 2: TRUE 3: 22
http://cvs.php.net/diff.php/phpdoc/en/reference/ibm_db2/functions/db2-fetch-array.xml?r1=1.4&r2=1.5&ty=u
Index: phpdoc/en/reference/ibm_db2/functions/db2-fetch-array.xml
diff -u phpdoc/en/reference/ibm_db2/functions/db2-fetch-array.xml:1.4
phpdoc/en/reference/ibm_db2/functions/db2-fetch-array.xml:1.5
--- phpdoc/en/reference/ibm_db2/functions/db2-fetch-array.xml:1.4 Mon Oct
3 11:47:33 2005
+++ phpdoc/en/reference/ibm_db2/functions/db2-fetch-array.xml Wed Dec 7
11:11:23 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.2. Found in /scripts directory of phpdoc.
-->
<refentry id="function.db2-fetch-array">
<refnamediv>
@@ -93,11 +93,11 @@
</example>
<example>
- <title>Retrieving specific rows with <function>db2_fetch_assoc</function>
+ <title>Retrieving specific rows with <function>db2_fetch_array</function>
from a scrollable cursor</title>
<para>
If your result set uses a scrollable cursor, you can call
- <function>db2_fetch_assoc</function> with a specific row number. The
+ <function>db2_fetch_array</function> with a specific row number. The
following example retrieves every other row in the result set, starting
with the second row.
</para>