odbc_errormsg
(PHP 4 >= 4.0.5)
odbc_errormsg -- Get 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. 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
(PHP 3>= 3.0.6, PHP 4 )
odbc_exec -- Prepare and execute a SQL statement
Description
resource odbc_exec ( resource connection_id, string query_string)
Returns FALSE on error. Returns an ODBC result identifier
if the SQL command was executed successfully.
odbc_exec() will send an SQL statement to the database
server specified by connection_id. This parameter must be
a valid identifier returned by odbc_connect() or odbc_pconnect().
See also: odbc_prepare() and odbc_execute() for multiple
execution of SQL statements.
|