PHP While – Do While Loop
The While Loop is used to repeat executing a certain code as long as a given condition is (still) true. while( … condition … ) { … execute code … } The code between accolades is only executed when the condition between brackets is true ( just like the If Loop) however after it executed [...]