this must be basic but I'm a bit at a loss. I need to compare the dates on submit, and if submitted date (0000-00-00) is less then today's date, spit out a message.
if (strtotime($_POST['date']) < time()) { echo "Wrong!"; } else { echo "Ok!"; }
If that format is yyyy-mm-dd, and the months and days are padded with zeros, then a string comparison would be sufficient; "2006-06-12"<"2006-11-11".
Dah! Perfect.