OCIError

(PHP 3>= 3.0.7, PHP 4 )

OCIError -- Return the last error of stmt|conn|global. If no error happened returns false.

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.