Learn Before
Concept

The PHP do...while Loop

The do...while loop always runs the supplied block of code once, checks the condition, and then repeats the loop as long as the condition is true.

<?php do { code to be executed; } while (condition is true); ?>

0

1

Updated 2023-02-06

References


Tags

Object-Oriented Programming (OOP) Languages

Related