On Wednesday 21 January 2004 07:10, Bill Green wrote: > for ($y=$curr_year; $y < $range; $y++) { > echo "<option value={$y}>".$y."</option>\n"; > } > > When I check for errors: > $curr_year = 2004 > $curr_year is an integer > $range = 10 > $curr_year + $range = 2014 > $y = 2004
$y < $range Do the substitution and what do you get? -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* "Nine years of ballet, asshole." -- Shelly Long, to the bad guy after making a jump over a gorge that he couldn't quite, in "Outrageous Fortune" */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php