* docs for odbc_error() and odbc_errormsg()

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@39492 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Stig Bakken 2001-01-15 00:40:50 +00:00
parent 9ecbf4f9c1
commit dc4efd6634

View file

@ -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>