I'm building a web site that uses html, php and mysql.
I've used an html text input box that successfully captures a date, $userentereddate, that the site visitor inputs in the month/day/fourdigityear (e.g. 01/31/2002) format.
In my php code I've used a $todaysdate = date("m/d/Y") statement to successfully capture today's date and put it into a format that makes sense to site visitors.
What must I do to $userentereddate so that I can compare it to the date the system has generated for me.
I'd like to compare $userentereddate to $todaysdate to make sure that the user entered date is after today's date. (e.g. if ($userentereddate > $todaysdate) {do whatever I need it to do}
Help!
Thanks in advance.