Answers for "for loop in php 5 iteration"

PHP
0

php loop x times

for ($i = 1; $i <= 10; $i++) {
    echo $i;
}
Posted by: Guest on September-09-2020
0

php iterate through a loop

<?php
 
$scores = [1,2,3];
foreach ($scores as $score) {
 echo $score;
}
Posted by: Guest on April-26-2020

Browse Popular Code Answers by Language