update : 2015.11.03
php.shukuma.com검색:
|
oci_error(PHP 5, PECL OCI8 >= 1.1.0) oci_error — Returns the last error found 설명
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. 인수
반환값
If no error is found, oci_error() returns
예제
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 |