dbs             Mon Sep 19 10:31:27 2005 EDT

  Modified files:              
    /phpdoc/en/reference/ibm_db2/functions      db2-exec.xml 
                                                db2-conn-errormsg.xml 
  Log:
  Correct examples in ibm_db2 docs.
  
  
http://cvs.php.net/diff.php/phpdoc/en/reference/ibm_db2/functions/db2-exec.xml?r1=1.6&r2=1.7&ty=u
Index: phpdoc/en/reference/ibm_db2/functions/db2-exec.xml
diff -u phpdoc/en/reference/ibm_db2/functions/db2-exec.xml:1.6 
phpdoc/en/reference/ibm_db2/functions/db2-exec.xml:1.7
--- phpdoc/en/reference/ibm_db2/functions/db2-exec.xml:1.6      Tue Sep  6 
19:33:45 2005
+++ phpdoc/en/reference/ibm_db2/functions/db2-exec.xml  Mon Sep 19 10:31:25 2005
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.6 $ -->
+<!-- $Revision: 1.7 $ -->
 <!-- Generated by xml_proto.php v2.2. Found in /scripts directory of phpdoc. 
-->
 <refentry id="function.db2-exec">
  <refnamediv>
@@ -134,7 +134,7 @@
 
 foreach ($animals as $animal) {
     $rc = db2_exec($conn, "INSERT INTO animals (id, breed, name, weight)
-      VALUES ('{$animal[0]}', '{$animal[1]}', '{$animal[2]}', {$animal[3]})");
+      VALUES ({$animal[0]}, '{$animal[1]}', '{$animal[2]}', {$animal[3]})");
     if ($rc) {
         print "Insert... ";
     }
http://cvs.php.net/diff.php/phpdoc/en/reference/ibm_db2/functions/db2-conn-errormsg.xml?r1=1.3&r2=1.4&ty=u
Index: phpdoc/en/reference/ibm_db2/functions/db2-conn-errormsg.xml
diff -u phpdoc/en/reference/ibm_db2/functions/db2-conn-errormsg.xml:1.3 
phpdoc/en/reference/ibm_db2/functions/db2-conn-errormsg.xml:1.4
--- phpdoc/en/reference/ibm_db2/functions/db2-conn-errormsg.xml:1.3     Tue Jul 
12 13:39:24 2005
+++ phpdoc/en/reference/ibm_db2/functions/db2-conn-errormsg.xml Mon Sep 19 
10:31:26 2005
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
 <!-- Generated by xml_proto.php v2.2. Found in /scripts directory of phpdoc. 
-->
 <refentry id="function.db2-conn-errormsg">
  <refnamediv>
@@ -78,9 +78,9 @@
     &example.outputs;
     <screen>
 <![CDATA[
-Msg:[IBM][CLI Driver] SQL1013N  The database alias name
+[IBM][CLI Driver] SQL1013N  The database alias name
 or database name "BADNAME" could not be found.  SQLSTATE=42705
- Err Code: -1013
+ SQLCODE=-1013
 ]]>
     </screen>
    </example>

Reply via email to