".$err['message']."\n"; die(); } function fehler($stmt) { $username = "nils"; $password = "nils"; $database = "ora9"; $con = @OCILogon($username, $password, $database); if (!$con) { $e = OCIError(); // For OCILogon errors pass no parameter PrintOCIError($e); } echo "Connected OK\n"; $stid = @OCIParse($con, $stmt); if (!$stid) { $e = OCIError($con); // For OCIParse errors pass the connection PrintOCIError($e); } echo "Parsed OK\n"; $r = @OCIExecute($stid); if (!$r) { $e = OCIError($stid); // For OCIExecute errors pass the statement PrintOCIError($e); } echo "Executed OK\n"; } ?>