Answers for "for loop plus 100 php"

PHP
1

for loop php increment by 2

for ($i=1; $i <=10; $i+=2) 
{ 
    echo $i.'<br>';
}
Posted by: Guest on February-27-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

Browse Popular Code Answers by Language