OCIError

(PHP 3>= 3.0.7, PHP 4 >= 4.0.0)

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.