[snip] Now that I'm thinking about it, what is your goal with this? Is it to make sure the date entered is within a certain range when compared to another date? i.e. The date entered cannot be more than absolutevalue(10 days) away from the first date or is it just to make sure it's in the proper format? [/snip]
It is to make sure that the user has entered a valid future date in the YYYYMMDD format into the form. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php