Answers for "php loop 10 times"

PHP
0

php loop x times

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

for loop in php

/*
For loop in php
*/

<?php
for ($i = 0; $i < 10; $i++) {
     echo $i."<br>";
} 
?>
Posted by: Guest on May-06-2020

Browse Popular Code Answers by Language