Hi all,
I am new to PHP and I am using Zend engine version: 1.3.0 and PHP3.
I am using ora_errorcode function to get Error Code but it is giving undefined function message.
My code is as follows
$errorCode = ora_errorcode($connection);
echo('errorCode is '.$errorCode);
$errorDesc = sqlite_error_string($errorCode);
echo('errorDesc is '.$errorDesc);
I am using Oracle database.
What I want to do is , when ever there is a error or exception while insertingt data in Database, I want to get the Oracle error code(using ora_errorcode function). Using this error code , I can get description of the error by using sqlite_error_string function.
Please help me in this issue.
Thanks,
Murali