note 37168 deleted from function.checkdate by didou
| From: | didou@php.net | Date: | Wed, 05 Nov 2003 16:58:46 +0000 |
| Subject: | note 37168 deleted from function.checkdate by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-59952@lists.php.net to get a copy of this message | ||
Note Submitter: raja@rajashahed.com
----
Hi. A very Small Example.But works perfect.
if (!isset($employer_id) || !is_numeric($employer_id) ||
!checkdate($starting_date) || !checkdate($ending_date))
{
echo ('Please insert correct input');
}
else
{
'Your code';
}
Regards
Raja