PHP » GoLang |
login |
register |
about
|
oci_error(PHP 5, PHP 7, PECL OCI8 >= 1.1.0) oci_error — Returns 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
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 |
more
Recently updated
more
Most requested
more
Last requests
|