PHP While Loops

The while loop statement

The while loop will execute a block of statement as long as a test expression is true.