In this tutorial you will learn about the PHP While Loops and its application with practical example.
The while loop statement
Table Of Contents−
The while loop will execute a block of statement as long as a test expression is true.
1 2 3 4 |
while (condition) { //Block of code to be executed comes here; } |