View Single Post
Old 02-16-2006, 11:48 PM   #10 (permalink)
redhead
Newbie
 
redhead's Avatar
 
Join Date: Jun 2002
Location: Denmark
Posts: 1,726
redhead is on a distinguished road
Or more simplyfied:
PHP Code:
echo "<option value='' SELECTED>- Select -</option>\n";
for (
$i=floor(date("y")), $j=$i+10$i $j; ++$i)
   
printf("<option value='%.2d'>%.2d</option>\n"$i$i); 
But then again there are hundreds of ways you can form something like this.
__________________
Don't worry Ma'am, We're university students, We know what We're doing.
-----
If you pull the pin, Mr.Grenade would no longer be your friend.
-----
01000111 01101111 00100000 01000011 00100000 00100001
redhead is offline   Reply With Quote