PHP TutorialsPhp What is
PHP INI TutorialsPhp ini What is
You will give the While loop a condition to validate. As long as that condition is true, the code within the curly braces will be executed .
The Above code displays every number from 1 through 100 in a browser. It begins by setting a variable ($i) to 1, and then using the variable as a counter to control the loop, as well as display the current number onscreen.