I have 3 select boxes. 1 for the Month, 1 for the Day and 1 for Year. When submitted, I need to make their choices into one; international date format.
Here is what I have so far:
$impdate = $_POST['impyear'] . $_POST['impmonth'] . $_POST['impday'];
Let's say they have April 1 2006 selected. As my script stands, when echo'd it produces the following:
My PROBLEM: How do I get the dashes in there also so MySQL recognizes it as a valid date format:
My gratitude ahead of time!