Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

PHP while Loop

<?php
$x = 1;

while($x <= 5) {
  echo "The number is: $x <br>";
  $x++;
}
?>
Source by www.php.net #
 
PREVIOUS NEXT
Tagged: #PHP #Loop
ADD COMMENT
Topic
Name
1+4 =