The while loop executes a block of code while a condition is true. When the condition is false, the loop ends, and code execution proceeds to the next statement.
I use Bluehost for my own web sites, and recommend it for clients who need web hosting. If you click on the banner above, and then sign up for a Bluehost account, I will earn an affiliate bonus. (Thank you!)