Please fill in all of the required fields.

'; else if (checkdate($_POST['MONTH'], $_POST['DAY'], $_POST['YEAR']) == FALSE) $err = "Invalid Date Entered"; else if ($_POST['HOURS'] < 0 || $_POST['HOURS'] > 23 || $_POST['MINUTES'] < 0 || $_POST['MINUTES'] > 59 || !is_numeric($_POST['HOURS']) || !is_numeric($_POST['MINUTES'])) $err = "Invalid Time Entered"; else { $sql = mysql_query("INSERT INTO events (title, description, date, time) VALUES ('$title', '$description', '$date', '$time')"); $err = '

Your event has been added to the calendar.

'; } } ?>
Title


Date


Time (24h)
:

Event Description