Is that really useful to have so many examples which fail since we know we have to pass valid values?
I don't think we should explain all possibilities of failure...

file : db2-set-options.xml

Jean-Sébastien Goupil
[EMAIL PROTECTED]
http://other.lookstrike.com



Jean-Sébastien Goupil a écrit :
jsgoupil                Tue Oct  3 23:46:07 2006 UTC

Modified files: /phpdoc/en/reference/ibm_db2/functions db2-set-option.xml Log:
  fix example
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/ibm_db2/functions/db2-set-option.xml?r1=1.1&r2=1.2&diff_format=u
Index: phpdoc/en/reference/ibm_db2/functions/db2-set-option.xml
diff -u phpdoc/en/reference/ibm_db2/functions/db2-set-option.xml:1.1 
phpdoc/en/reference/ibm_db2/functions/db2-set-option.xml:1.2
--- phpdoc/en/reference/ibm_db2/functions/db2-set-option.xml:1.1        Tue Oct 
 3 02:35:03 2006
+++ phpdoc/en/reference/ibm_db2/functions/db2-set-option.xml    Tue Oct  3 
23:46:07 2006
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
 <refentry id="function.db2-set-option">
   <refnamediv>
     <refname>db2_set_option</refname>
@@ -328,8 +328,8 @@
 $hostname = 'localhost';
 $port = 50000;
 $protocol = 'TCPIP';
-$username = 'db2inst1'; //change to db2inst1
-$password = 'ibmdb2'; //change to ibmdb2
+$username = 'db2inst1';
+$password = 'ibmdb2';
/* Connection String */
 $conn_string = "DRIVER={IBM DB2 ODBC DRIVER};DATABASE=$database;";
@@ -469,7 +469,6 @@
         <programlisting role="php">
 <![CDATA[
 <?php
-
 /* Database Connection Parameters */
 $database = 'SAMPLE';
 $hostname = 'localhost';

Reply via email to