initially i tried doing it this way..
$year = date("Y"); //get the year from $today
echo "<select name='year1'>\n";
echo '<option value="'.$year.'">-</option>'."\n";;
for ($n=$year-1;$n>$year-10;$n--) {
echo '<option value="'.$n.'">'.$n.'</option>'."\n";
}
echo "</select>\n";
but 2005 is no longer a value in the drop down menu..
But any way thanks.. i tried the codes you suggested as well.. the 2005 aint a value in the drop down..