using do while in Php

Sunny.Sagar
Posted by Sunny.Sagar under Others category on | Points: 40 | Views : 1486
<?php
$x = 1;

do {
echo "The number is: $x <br>";
$x++;
} while ($x <= 5);
?>

Comments or Responses

Login to post response