While loop in PHP

While loop in PHP is represented by a keyword WHILE. The condition of the loop is a Boolean expression. It usually done with a variable that has a conditional to validate if that variable is less then or greater than a specific value.

It is needed to change the value of this variable inside of the loop to avoid infinite loop.

Comments

Popular posts from this blog

Absolute and relative path in HTML pages

Errors

goto PHP operator