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