What would be the best way of creating form fields to collect a person's date of birth?
I was thinking of having three form fields, one for month, day, and year.
If I gave them each a variable like: $m, $d, $y, I could then add them together with $dob = "$y-$m-$d" because I'd have to insert it into a database.
But then, how would I check to see if a person is under 18? I want the age limit to be 18 and up.