$i=0 : Starting value of the loop. 0 is most common $i<5 : Loop will continue to perform its actions as long as $i is less than 5. If $i is not less than 5, then the for loop stops. ++$i : After each loop, $i gains 1 to its value.
$i=0 : Starting value of the loop. 0 is most common $i<5 : Loop will continue to perform its actions as long as $i is less than 5. If $i is not less than 5, then the for loop stops. ++$i : After each loop, $i gains 1 to its value.
Replies
for ($i=0; $i<5; ++$i) { print ( "Loop " + $i ); }$i=0 : Starting value of the loop. 0 is most common$i<5 : Loop will continue to perform its actions as long as $i is less than 5. If $i is not less than 5, then the for loop stops.
++$i : After each loop, $i gains 1 to its value.
going to test it out now, see if it works, thanks