Hello
Im trying to print the oracle error.
When I type an invalid query I only get
ORA-00000: normal, vellykket fullføring
(normal, successful......)
when I should get something like
ERROR on line 1:
ORA-00942: table or view do not exist...
putenv("ORACLE_SID=........");
$ora_conn = ora_logon ("user","psw"); //Establishes a connection to Oracle
..
..
..
error_reporting(0);
$ora_cur = ora_do( $ora_conn, $query ); // Parse, exec and fetch the query
if (!$ora_cur) { //if failure
echo $error = ora_error();
can anyone please help?