mysql phpmyadmin, how to save date of birth that was attained through a form with the input type "se

Posted by newbie-25 on Stack Overflow See other posts from Stack Overflow or by newbie-25
Published on 2010-05-30T14:52:14Z Indexed on 2010/05/30 15:02 UTC
Read the original article Hit count: 144

Filed under:
|
|

Hello,

I have a form which asks the user his or her date of birth. Its a drop down box since I use the select input type. The first drop down has Months, second has Days, the third has the Years. So the format should be Month(October), Day(25), Year(1990). In other words the months spell out the actual month and not simply the number representation of the month. However, I would like to save the Day and Year in their respective formats. How can I do this in phpMyAdmin? Should I use the DATE type? what should the value be? I just need to know how to correlate all of this in phpmyadmin, so I can save it properly. Thank you.

© Stack Overflow or respective owner

Related posts about php

Related posts about mysql