Jump to content

collin84

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

collin84's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Thanks for the help, its working fine now. Thought it must have been something simple but couldn't figure it out and was spending far too long trying. Col
  2. Hi I'm new to php and have just started using it for an assignment at university I'm wanting to create a date input section on a website using 3 combo boxes for day, month and year I then want to store this date in a mysql table $month = array(1=>"January", "February", "March"........); $day = $_POST['day']; $year = $_POST['year']; $query = "INSERT INTO table (date) VALUES ('$year-???-$day')"; The only question i have got is how to get the numerical value of the selected month and put it in place of "???" ? Thanks Col
×
×
  • 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.