Jump to content

[SOLVED] Mergins POST into one


timmah1

Recommended Posts

How would I take 3 drop-down menus and combine into one for insertion into mysql?

 

Example:

Birthday drop-downs

<select name="day" id="day">
      <option value="1">1</option>
    </select>

<select name="year" id="year">
      <option value="2008">2008</option>
    </select>

<select name="month" id="month'>
      <option value="01">January</option>
    </select>

 

My field in the database is dob set as DATE

 

I want to make this three drop-downs in the date format, and I cannot figure out how.

 

Can someone show me?

 

Thanks in advance.

Link to comment
https://forums.phpfreaks.com/topic/108755-solved-mergins-post-into-one/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.