Google News
logo
PHP - Interview Questions
Write a program using while loop
<?php
   $x = 1;
   while($x <= 5) {
    echo "The number is: $x <br>";
    $x++;
  }
?>
Advertisement