Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

PHP Break and Continue

<?php
for ($x = 0; $x < 10; $x++) {
  if ($x == 4) {
    break;
  }
  echo "The number is: $x <br>";
}
?>
Source by www.php.net #
 
PREVIOUS NEXT
Tagged: #PHP #Break #Continue
ADD COMMENT
Topic
Name
9+7 =