PHP Loops

Another key feature of all programming languages is some way of running sections of code repeatedly, by looping through lines of code according to some rule governing how many times and under what conditions they should be run.

Using loops, programs can perform repetitive work very quickly and loops form a very important part of many tasks.