The PHPFreaks.com website gets back to basics with a new tutorial they've posted - a look at looping in PHP.
Looping is simply a way for you to reduce the amount of code and/or content you have to write out. The idea is that you have something you have to do, or some content you have to show, and instead of just "writing it all out," you find a pattern to it - a common denominator - and let PHP execute the code or generate the content piece by piece using that pattern, based on a condition.
Their example solves the problem of finding taking a range of numbers and seeing how many of them can be evenly divided by another number.