This is a 'for' loop using a variable equal to 1, with a ++ increment
1
2
3
4
5
6
7
8
9
10
This is a 'for' loop using a variable equal to 00, with a -100 decrement
500
400
300
200
100
This is a print_r() output!
Array
(
[0] => cat
[1] => dog
[2] => turtle
[3] => kangaroo
)
This is a 'foreach' loop
Key: 0 Value: cat
Key: 1 Value: dog
Key: 2 Value: turtle
Key: 3 Value: kangaroo
Index HTML