A loop is a construct that causes a block of code to be repeated a certain number of times. The repetition continues while the condition set for the loop remains true, once the condition becomes false, the loop ends and the control is passed to the statement following the loop.
Three main looping constructs in PHP are:
Web Development Institute is the premier institute in Delhi-NCR offering wide range of web design and web development courses. All our courses are designed by experts and in consultation with students from the advanced regions of the web world.