• Teach Your Self With
             w3htmlschool.com

PHP while loops

The while loop allows you to repeat a block of code until the condition is TRUE.
Example
Example Output

Syntax


while (condition ) {
code to be executed;
}