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, timestamp, endtime) VALUES ('$title', '$description', '$timestamp', '$endtime')"); $err = '

Your event has been added to the calendar.

'; } } ?>
Title


Date


Time (24h)
:

Duration
   
Hours    Minutes

Event Description