PHP Manual
Prev |  | Next

# OCIError

(PHP 3>= 3.0.7, PHP 4 )

OCIError -- Return the last error of stmt|conn|global

## Description

array OCIError ( [int stmt|conn|global])

OCIError() returns the last error found. If the optional `stmt|conn|global` is not provided, the last error encountered is returned. If no error is found, OCIError() returns `FALSE`. OCIError() returns the error as an associative array. In this array, `code` consists the oracle error code and `message` the oracle errorstring.

Prev | Home | Next
OCIDefineByName | Up | OCIExecute