PHP Fatal error: Call to undefined method DB_Error::query()
Posted on 2007-11-29
I'm using Zend Core for Oracle. I have a file called PTutil.php connects to oracle DB, query the DB and display results.
Currently I'm unable to make work due to this error:
PHP Fatal error: Call to undefined method DB_Error::query() in ../Phonetimes/PTutil.php on line 192
The line 192 is this:
$res =& $db->query($query);
PEAR is installed and working fine.
I did some google search on this error, and tried what were suggested but still have the same error.
Can you please help me solve this error?