Answers for "how to use a for loop to write a line several times php"

PHP
0

php loop x times

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

php for next loop step

for ($i = 0; $i < 10; ++$i) 
{
  echo "I will loop 10 times";
}
Posted by: Guest on August-06-2020

Code answers related to "how to use a for loop to write a line several times php"

Browse Popular Code Answers by Language