This lesson will teach the concept and implementation of for loops and nested for loops in PHP.
A for loop can also be used for doing things a certain amount of time. It’s like a while loop but the increment is included with the condition.
A for loop is set up like this:
for