Learn Before
Concept
The PHP for Loop
When you know ahead of time how many times the script should run, you use the for loop.
<?php for (init counter; test counter; increment counter) { code to be executed for each iteration; } ?>
0
1
Updated 2023-01-31
Tags
Object-Oriented Programming (OOP) Languages