imlek Posted August 2, 2004 Posted August 2, 2004 Hi, I use Date of Birth for every customers field, but I found some issue here. If I put character in DOB field: The OSC at the top of page will show: ---Start--- Warning: checkdate() expects parameter 1 to be long, string given in /usr/www/users/my/create_account.php on line 80 ---End--- And: ---Start--- Your Date of Birth must be in this format: MM/DD/YYYY (eg 05/21/1970) ---End--- If I try to input 20/20/1970 (Off course the is no month of 20), I only get the second error message (Not the first one). The first one looks like server or php string error. How to make if someone input character in DOB, only the second error appear? Please advice. Thank you and have a nice day.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.