View Single Post
  #7  
Old 04-22-2011, 05:08 AM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Quote:
Originally Posted by Jiroxys7 View Post
It will return those 3 things in F2. But oddly..
PHP Code:
echo(passedeffects[i]); 
Will stop after only the first line. It seems like the for loop quits for some reason after only the first run through. What could be causing this?
You're probably doing something accidentally like..

PHP Code:
for (temp.0temp.whatevertemp.i++) {
  
/* Code */
  
for (temp.0temp.whatevertemp.i++) {
    
/* broke itself */
  
}

Feel free to include the whole function.
__________________
Quote:
Reply With Quote