query("INSERT INTO exams (id,score) VALUES (" . strtotime(trim($_POST['stime'])) . ",'" . $_POST['score'] . "')"); block("lightgreen", "added exam"); } if(isset($_GET['delete'])) { $db->query("DELETE FROM exams WHERE id=" . $_GET['delete']); block("red", "deleted exam"); } require 'include/exams.inc'; block("black", "add exam"); ?>
"; foreach ($EXAMS as $exam) { print "