Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

foreach loop 1-100 php

<?php

for ($i = 0; $i < 10; $i++){

$product = 10 * $i;

echo "The product of 10 * $i is $product <br/>";
}

?>
 
PREVIOUS NEXT
Tagged: #foreach #loop #php
ADD COMMENT
Topic
Name
5+5 =