For loops in PHP
4
FOR-LOOPS SUR AJ M OTEE
-
Upload
suraj-motee -
Category
Education
-
view
25 -
download
3
Transcript of For loops in PHP
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