SkyHog
Touchdown! Greaser!
- Joined
- Feb 23, 2005
- Messages
- 18,433
- Location
- Castle Rock, CO
- Display Name
Display name:
Everything Offends Me
Hey - fun fact: reinitializing a counter within a loop results in an infinite loop.
Sigh.
That is to say:
Any idea how long it took me to figure out that I reused a variable?
Sigh.
That is to say:
Code:
$counter = 0;
for ($x = 0; x < $counter; x++){
about 200 lines of code
$counter = 0;
about 200 more lines of code
}
Any idea how long it took me to figure out that I reused a variable?