You're welcome. The semicolon "ends" the for loop which is saying "for <whatever> do nothing". Then the other statements execute outside the loop.
Type: Posts; User: pbrockway2
You're welcome. The semicolon "ends" the for loop which is saying "for <whatever> do nothing". Then the other statements execute outside the loop.
Use braces with the for loop. And remove the semicolon at the end of the line with "for" in it. Ie all your for loops should look like
for(/* etc */) {
// code here
}
If your code...