Re: [PHP] date validation problem!

2002-10-31 Thread 1LT John W. Holmes
> I am having some problem with date validation > I am trying to validate the date in a form Field > I had provided a text field for date, so have to > expect all the different possible entry, > When i tried with checkdate() method it needs the > parametes in (int month,int date, int year). It make

RE: [PHP] date validation problem!

2002-10-31 Thread Jon Haworth
Hi, > I had provided a text field for date, so have to > expect all the different possible entry, This is generally a *very* bad idea. If a visitor to your site enters "4/3/01", do they mean the 4th March or the 3rd April? I find the best thing to do is provide three drop-downs: one contains nu