Hello…
I am creating a login page where user is supposed to enter his/her birthdate can someone please help me how to code in php a dropdown list of date/month/year format, such that a user will not have to add his on datebirth as a text.
thank you.
You can create separate dropdownlist for date, month , year… and get these data combine them and store it into database…
or
you can display a textbox and validate data in the prescribed format by using regular expressions…
thank you…but the thing is I am not that expert in php so I am afraid I don’t know what are those regular expressions. I did not know I would need to validate again as I thought the programmer would have been put the correct dates to select.
This will usefull to you, to start…
Month Day year Selection drop down list to generate date format in PHP
Thank you…got it