From dc4efd663407f910b2bf033f7bb0562f739e747c Mon Sep 17 00:00:00 2001 From: Stig Bakken Date: Mon, 15 Jan 2001 00:40:50 +0000 Subject: [PATCH] * docs for odbc_error() and odbc_errormsg() git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@39492 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/uodbc.xml | 53 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/functions/uodbc.xml b/functions/uodbc.xml index 8f2b560513..e291462a29 100644 --- a/functions/uodbc.xml +++ b/functions/uodbc.xml @@ -367,6 +367,59 @@ + + + odbc_error + Get the last error code + + + Description + + + int odbc_error + int connection_id + + + + Returns a six-digit ODBC state, or an empty string if there + has been no errors. If connection_id is + specified, the last state of that connection is returned, else the + last state of any connection is returned. + + + See also: odbc_errormsg and + odbc_exec. + + + + + + + odbc_errormsg + Get the last error message + + + Description + + + int odbc_errormsg + int connection_id + + + + Returns a string containing the last ODBC error message, or an empty + string if there has been no errors. If + connection_id is specified, the last state of + that connection is returned, else the last state of any connection + is returned. + + + See also: odbc_error and + odbc_exec. + + + + odbc_exec