|
oci_errorReturns the last error found Description
array oci_error
([ resource
$resource
] )Returns the last error found. The function should be called immediately after an error occurs. Errors are cleared by a successful statement. Parameters
Return Values
If no error is found, oci_error returns
Changelog
Examples
Example #1 Displaying the Oracle error message after a connection error
<?php
Example #2 Displaying the Oracle error message after a parsing error
<?php
Example #3 Displaying the Oracle error message, the problematic statement, and the position of the problem of an execution error
<?php |