View Single Post
Old 09-29-2007, 09:34 PM   #5 (permalink)
wiifanatic
The Contributor
 
wiifanatic's Avatar
 
Join Date: Sep 2007
Posts: 29
Thanks: 8
wiifanatic is on a distinguished road
Default

This is more customizable (Change $yearsToGoBack):
PHP Code:
<select>
    <?php
    $yearsToGoBack 
10;
    
    for (
$i=0;$i<$yearsToGoBack;$i++) {
        
$year date('Y') - $i;
        echo 
'<option value="'.$year.'">'.$year.'</option>';
    }
    
?>
</select>
Enjoy!
wiifanatic is offline  
Reply With Quote