A for loop can be employed to determine in advance the number of times your script will run. PHP for loop can be very helpful when we want to loop over an array and then refer to a member of array by changing index. Suppose we have an array of odd numbers. To print them… Continue reading PHP for Loop