PHP while and do-while statements
One of the simplest ways PHP has to create a loop or repeat a block of code while a condition is met is while, and we can also use do-while to go through the block at least once.
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed