When I use for loops, at the start of each iteration, the variables hold the
values from the last loop.

First, is there an elegant way of clearing variables at the start of each
loop rather than using unset???! It just seems wrong.

Also, all my problems would be solved if variables in a for loop were kept
local, but everything by default is a global. Can I change this in php.ini
or something??

TIA

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to