PHP.nl

odbc_errormsg

odbc_errormsg

Get the last error message

string **odbc_errormsg**  $odbc

Returns a string containing the last ODBC error message, or an empty string if there has been no errors.

odbc

If is specified, the last state of that connection is returned, else the last state of any connection is returned. odbc

This function returns meaningful value only if last odbc query failed (i.e. returned false). odbc_exec

odbc_error``odbc_exec