What is FOR loop in PHP ?
In PHP the FOR loop are two types, for and foreach loop. Loop mean iteration or repetition , that mean, if you want a code block execute again and again, while specified number of times.
For loop is used when we know that how much time the code should be run.
What is foreach loop in php ?
Foreach loop is used for array. In php loop foreach loop is used only for array elements. it used to loop through each key and there value pair.
For more clarify please watch this video learn about php loops..
Thank you
On this page of the site you can watch the video online PHP For loop, Foreach Loop - PHP Tutorial - 15 with a duration of hours minute second in good quality, which was uploaded by the user onballorg 05 September 2016, share the link with friends and acquaintances, this video has already been watched 42 times on youtube and it was liked by 0 viewers. Enjoy your viewing!