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);
Please help me in this issue.
Thanks,
Murali
Error Code
Moderator: General Moderators
-
muralimohan001
- Forum Newbie
- Posts: 4
- Joined: Tue Nov 18, 2003 9:37 pm
S. 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.
Pls help me in this issue.
Regards,
Murali
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.
Pls help me in this issue.
Regards,
Murali