Basically when ever the person has submitted whatever they need to submit, I suspect that you already have something that tells PHP, "Okay, the whatever is submitted now we need to execute this", if not, then post what it is you are trying to do and we would help you with that. As for the date in mysql, the mysql date format is as follows "year-month-day" i'll give you a little snippet below and all it does is show you how you would insert the date into mysql, and if you would like to show the date to users as "month-day-year" I will also include a function for that. Here we go,
<?php
$date = date('Y-m-d');
//I assume you know where to put the name of your table, and the row for the date
$query = "INSERT INTO your_table (row_name) VALUES ('$date')";
mysql_query($query);
?>
As for fetching, and displaying the date here's what I do.
<?php
//function to convert the date inputted
//to the following format
//month-day-year
function convert_date($date)
{
$ex = explode("-", $date);
$dates = "{$ex[1]}-{$ex[2]}-{$ex[0]}";
return $dates;
}
//echo the date
$s_date = convert_date($your_date);
echo $s_date;
?>
Hope I explained fairly well, I am after all only 16 and not very good with explaining haha, if you need any help just let me know.