mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
Updated docs - new MSSQL support and dbx_connect module-constants are
now supported. (Mc) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@46556 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
f3d07bd963
commit
225e2433a8
1 changed files with 17 additions and 13 deletions
|
@ -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,34 +94,34 @@ dbx_close($link);
|
|||
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
|
||||
|
@ -214,6 +214,10 @@ dbx_close ($link);
|
|||
<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>
|
||||
</refentry>
|
||||
|
|
Loading…
Reference in a new issue