1 2 3 4 5 6 7 8 9 10 11
<?php require("configure.php"); ?><?$calendarId = $_GET["calendarId"];$sql = "DELETE FROM Calendar WHERE calendarId=". $calendarId ." ";mysql_query($sql);mysql_close($dbh);header("Location: calendarindex.php?msg=Update Successful");?>