odbc_errormsg

odbc_errormsg

(PHP 4 >= 4.0.5, PHP 5, PHP 7)

odbc_errormsgGet the last error message

Description

string odbc_errormsg ([ resource $connection_id ] )

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

Parameters

connection_id

The ODBC connection identifier, see odbc_connect() for details.