<?php
$now=time();
$3_days_ago = $now - (86400*3);
?>
<SELECT name="
date"><OPTION SELECTED>
<?php
$year = date("Y",$3_days_ago);
$month = date("m",$3_days_ago);
$day = date("d",$3_days_ago);
echo "$year-$month-$day";
?>
</OPTION>
<?php
$next_day = $3_days_ago + 86400;
$first = "0";
while ($first < "10"){
$year = date("Y",$next_day);
$month = date("m",$next_day);
$day = date("d",$next_day);
$display = "$year-$month-$day";
printf(" <OPTION>%s</OPTION>\n",$display);
$first++;
$next_day += 86400;
}
?>
</SELECT>
That is off the top of my head, didn't test it, but should work the way you want it too.
Hic