I am trying to add an element to my form that will allow the user to enter their date of birth which will post to a mYSQL database 'Register'. I am looking at the better solution of 2 options:
2) a drop down menu of month:, day:, and year. The difficulty with this one is that i dont know whether to make this a dynamic menu list - after all - the number of days within the day selection list depends on the month entered and also the year (in the case of a leap year).
I imagine many people have attacked this problem for registration pages - does anyone have any example code that is faily well commented?