Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

PHP foreach Loop

<?php
$colors = array("red", "green", "blue", "yellow");

foreach ($colors as $value) {
  echo "$value <br>";
}
?>
Source by phpf1.com #
 
PREVIOUS NEXT
Tagged: #PHP #foreach #Loop
ADD COMMENT
Topic
Name
6+9 =