PHP: Php – loops and arrays

In this tutorial we will learn about loops and arrays. They are also the most common things used in WordPress coding. We will come to that on a later tutorial.
Now lets learn loops first. Below is a simple PHP code for while and for loop