prepare($query); if($sth) { $res = $sth->execute(); $result = $sth->fetchrow_hash(); $back = $result["jobs_on"]; $back_t = $result["jobs_type"]; } else { PRINT "Could not prepare query: ".$sth->errstr."
\n"; } $query = "DELETE FROM jobs WHERE (ID = $ID)"; $result = $adb->dbh_do($query); logevent($back, "jobs", 4, "jobs", "$IRMName removed job $ID"); if ($back_t == 1) { header("Location: $USERPREFIX/servers/info.php?ID=$back"); } else { header("Location: $USERPREFIX/servers/info.php?ID=$back"); } ?>