PHP do while loop is used to execute the code at least one time because condition is checked after executing the code.

Syntax:

Output

Output

1

2

3

4

5

Pin It on Pinterest

Share This