Advertisement

Responsive Advertisement

PHP While Loop Statement

 


The while loop executes a block of code as long as the specified condition is true.

Syntax

while (condition is true) {
  code to be executed;
}

Example:




Post a Comment

0 Comments