If you are using MySQL, the insert string would be something like this:
Code:
INSERT INTO table (lineupdate) VALUES ('2006-08-27');
The date needs to be year, month, day. Concatenate the values from the form with php before inserting into the db.
Something like:
Code:
$lineupdate = $year . '-' . $month . '-' . $day;
or in other words
Code:
$lineupdate = $_POST['LineupYear'] . '-' . $_POST['LineupMonth'] . '-' . $_POST['LineupDay'];
Assuming you're using post for the form.
Then put the lineupdate variable in your sql string:
Code:
$sqlstring = "INSERT INTO table ('lineupdate') VALUES ('" . $lineupdate . "');"
Something like that. That's one way anyway.