Assume that you have an associative array that you need to iterate over. PHP gives an easy way to use each element of an array among the Foreach statement. While a For Loop and While Loop will continue till any condition fails, the For Each loop will continue till it has worked through each item in the array. Now we going to display all the values by using For loop statement.
Mraj
Creative Designer & Developer specialist by the spirit and a loving blogger by thoughts. If you have any questions let me drop an email with the article name to the following email id: [email protected]