PHP Programming/for loop - Wikibooks, open books for an open world
The basic syntax of the for loop in PHP is similar to the C syntax: for ([initialization]; [condition]; [step]) ... When the loop runs for the first time, it prints the initial value of $i which in the case of the example is 0. For every loop, the variabl...