Hey, thanks for your help. I've edited your code below, so that it works for what i'm doing, one more question is, how could I make it so that the dates that have already passed will no longer show up in the drop down... also, once it gets to 2005, do i just need to change that 2004 number, and the new dates will show up?
$startMonday = mktime(12, 0, 0, 9, 13, 2004);
$sequence = 0;
for ($i = -52; $i <= 52; $i++) {
$date[$i] = date('M d, Y', $startMonday + ($i * 7 * 24 * 60 * 60));
if (substr($date[$i], -2) == '04') {
$monday[++$sequence] = $date[$i];
}
}
echo"<select name='issue_date' size='1' class='boxes'>";
foreach ($monday as $key => $value) {
echo"<option value='$value'>$value</option>";
}
echo"</select>";