On the HowToForge website, there's a new tutorial that teaches one of the fundamentals of working with PHP (or any language for that matter) - looping.
Let's move towards our today's lecture which is about Loops. There are certain conditions in which you need to execute the same block of code again and again. For example if you want to print ten consecutive equal signs in three lines to make a separator then you could do it with different methods.
The tutorial covers:
- Basic Concept Of Loops
- Types Of Loops (for, while, do/while, and foreach)
- Assignment
- some Related Articles