[PHP-DOC] cvs: phpdoc /en/functions dbx.xml From: Marc Boeren (M.Boeren <email protected>)
Date: 05/04/01

mboeren Fri May 4 02:45:27 2001 EDT

  Modified files:
    /phpdoc/en/functions dbx.xml
  Log:
  Updated docs - new MSSQL support and dbx_connect module-constants are
  now supported. (Mc)
  
  
Index: phpdoc/en/functions/dbx.xml
diff -u phpdoc/en/functions/dbx.xml:1.6 phpdoc/en/functions/dbx.xml:1.7
--- phpdoc/en/functions/dbx.xml:1.6 Wed Apr 18 05:39:17 2001
+++ phpdoc/en/functions/dbx.xml Fri May 4 02:45:27 2001
@@ -16,8 +16,8 @@
     these databases. To be able to use a database with the
     dbx-module, the module must be either linked or loaded into PHP,
     and the database module must be supported by the
- dbx-module. Currently, MySQL, PostgreSQL and ODBC are supported,
- but others will follow (soon, I hope :-).
+ dbx-module. Currently, MySQL, PostgreSQL, Microsoft SQL Server
+ and ODBC are supported, but others will follow (soon, I hope :-).
    </simpara>
    <simpara>
     Documentation for adding additional database support to dbx can be
@@ -94,35 +94,35 @@
      persistent connection will be created.
     </para>
     <para>
- Possible module names are given below, but keep in mind that they
- only work if the module is actually loaded.
+ The <parameter>module</parameter> parameter can be either a string
+ or a constant. The possible values are given below, but keep in
+ mind that they only work if the module is actually loaded.
     </para>
     <para>
      <itemizedlist>
       <listitem>
        <simpara>
- module 1: "mysql"
+ module DBX_MYSQL : "mysql"
        </simpara>
       </listitem>
       <listitem>
        <simpara>
- module 2: "odbc"
+ module DBX_ODBC : "odbc"
        </simpara>
       </listitem>
       <listitem>
        <simpara>
- module 3: "pgsql"
+ module DBX_PGSQL : "pgsql"
        </simpara>
       </listitem>
+ <listitem>
+ <simpara>
+ module DBX_MSSQL : "mssql"
+ </simpara>
+ </listitem>
      </itemizedlist>
     </para>
     <para>
- The pgsql support is still experimental, and you should compile
- the actual pgsql module yourself after modifying one of the
- source files, otherwise you will get PostgreSQL warnings for
- every query.
- </para>
- <para>
      The dbx_link_object has three members, a 'handle', a 'module' and
      a 'database'. The 'database' member is the name of the currently
      selected database. The 'module' member is for internal use by dbx
@@ -213,6 +213,10 @@
     <note>
      <para>
       Always refer to the module-specific documentation as well.
+ </para>
+ <para>
+ The error-message for Microsoft SQL Server is actually the result
+ of the mssql_get_last_message function.
      </para>
     </note>
    </refsect1>