FOR-LO
OPS
SU
RA
J M
OT
EE
FOR LOOPS
The for loop is used when you know in advance how many times the script should run.
EXERCISE 1:
OUTCOME 0 TO 10 ON YOUR Screen
EXERCISE 2:
$colors = array("red", "green", "blue", "yellow");
Print all content in this array using for each loop
Top Related