SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Addict ghostme's Avatar
    Join Date
    Feb 2005
    Posts
    371
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    drop down date menu

    Hello good pple of the forum,
    Pls I am creating a form page with a date of birth field for the visitor. I have created three drop down fields for the Date of birth, one for the day, the other for the month and last for the year.
    How do I send these three information to the mysql to only appear in a D_O_B birth column in my table.

  2. #2
    SitePoint Enthusiast
    Join Date
    Oct 2005
    Posts
    97
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    you could concatinate the three values of these drop down list for example

    $birthday=$_POST['drop1'].$_POST['drop2'].$_POST['drop3']
    and u will be abe to save it in the datbase ya can also add "-" between the dots to look like 2005-11-29


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •