In this tutorial we will discuss PHP Loops. Loops are used to execute the same block of code again and again, as long as a certain condition is true.
while - loops through a block of code as long as the specified condition is true
do...while - loops through a block of code once, and then repeats the loop as long as the specified condition is true
for - loops through a block of code a specified number of times
foreach - loops through a block of code for each element in an array
Source of Lecture Information:
https://www.w3schools.com/php/php_loo...
#php #phploops #loops #phptutorial #basicphp #phplecturevideos #forloop #whileloop #dowhileloop #programmingloops