note 3011 deleted from function.checkdate by jimw
| From: | jimw@php.net | Date: | Fri, 07 Dec 2001 20:38:01 +0000 |
| Subject: | note 3011 deleted from function.checkdate by jimw | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-21940@lists.php.net to get a copy of this message | ||
something I found useful for varibalizing dates to to date checks
if ($year."-".$month."-".$day <= date("Y-m-d")) {
echo("date not acceptable");
$errorflag = "yes";
}
where a form has three input text fields named accordingly.