Changes

Jump to: navigation, search

PHP Flow Control and Looping

1 byte added, 17:46, 31 May 2007
PHP ''for'' loops
The ''conditional expression'' specifies the test to perform to verify whether the loop has been performed the required number of times. For example, if we want to loop 1000 times:
$i < 1000
Finally, the ''loop expression'' specifies the action to perform on the counter variable. For example to increment by 1:

Navigation menu