dbh_do($query); $query = "SELECT ID FROM checklist WHERE (date = '$daydate')"; $sth = $adb->prepare($query); if($sth) { $res = $sth->execute(); $result = $sth->fetchrow_hash(); $ID = $result["ID"]; logevent($ID, "checklist", 4, "database", "$IRMName added record"); } else { PRINT "Could not prepare query: ".$sth->errstr."
\n"; } header("Location: http://$SERVER_NAME/$USERPREFIX/checklist/"); } ?> "; } include("checklist.php"); ?>
"; if("$entry"=="new") { PRINT "Name:
"; PRINT "