ssb Sun Jan 14 16:40:50 2001 EDT
Modified files:
/phpdoc/en/functions uodbc.xml
Log:
* docs for odbc_error() and odbc_errormsg()
Index: phpdoc/en/functions/uodbc.xml
diff -u phpdoc/en/functions/uodbc.xml:1.12 phpdoc/en/functions/uodbc.xml:1.13
--- phpdoc/en/functions/uodbc.xml:1.12 Sun Jan 14 10:16:22 2001
+++ phpdoc/en/functions/uodbc.xml Sun Jan 14 16:40:50 2001
@@ -367,6 +367,59 @@
</refsect1>
</refentry>
+ <refentry id="function.odbc-error">
+ <refnamediv>
+ <refname>odbc_error</refname>
+ <refpurpose>Get the last error code</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <funcsynopsis>
+ <funcprototype>
+ <funcdef>int <function>odbc_error</function></funcdef>
+ <paramdef>int
+<parameter><optional>connection_id</optional></parameter></paramdef>
+ </funcprototype>
+ </funcsynopsis>
+ <simpara>
+ Returns a six-digit ODBC state, or an empty string if there
+ has been no errors. If <parameter>connection_id</parameter> is
+ specified, the last state of that connection is returned, else the
+ last state of any connection is returned.
+ </simpara>
+ <simpara>
+ See also: <function>odbc_errormsg</function> and
+ <function>odbc_exec</function>.
+ </simpara>
+ </refsect1>
+ </refentry>
+
+ <refentry id="function.odbc-errormsg">
+ <refnamediv>
+ <refname>odbc_errormsg</refname>
+ <refpurpose>Get the last error message</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <funcsynopsis>
+ <funcprototype>
+ <funcdef>int <function>odbc_errormsg</function></funcdef>
+ <paramdef>int
+<parameter><optional>connection_id</optional></parameter></paramdef>
+ </funcprototype>
+ </funcsynopsis>
+ <simpara>
+ Returns a string containing the last ODBC error message, or an empty
+ string if there has been no errors. If
+ <parameter>connection_id</parameter> is specified, the last state of
+ that connection is returned, else the last state of any connection
+ is returned.
+ </simpara>
+ <simpara>
+ See also: <function>odbc_error</function> and
+ <function>odbc_exec</function>.
+ </simpara>
+ </refsect1>
+ </refentry>
+
<refentry id="function.odbc-exec">
<refnamediv>
<refname>odbc_exec</refname>