I have some select boxes where a user inputs a date. How can I make sure that the date is a valid one (I.E. not Febuary 30th, or April 31 - Dates which don't exist).
I use PHP to first convert my date into a MySQL friednly format of YYYY-MM-DD...But then what?
A function for this must exist somewhere..I don't want to actrually correct the date, just somethign I can use in an if else statement.