<? // parse SQL statement $result = ora_parse($cursor, $query); if (!$result) { printf( "Could not parse!\n"); exit; } // exec SQL statement $result = ora_exec($cursor); if (!$result) { // we should actually do some nice error handling here using // ora_error() and ora_errorcode() printf( "Could not execute!\n"); exit; } ?>