0

I need the following output in php

12345 678910 1112131415 1617181920

10th Dec 2017, 5:46 PM
hassan
2 Answers
+ 4
okay? $a=1; for($i=0;$i<20;$i++) { echo $a++; }
10th Dec 2017, 6:04 PM
᠌᠌Code X
᠌᠌Code X - avatar
+ 2
With the line breaks: $a=1; for($i = 0; $i < 4; $i++) { for($e = 0; $e < 5; $e++) { echo $a++; } echo "\n"; }
10th Dec 2017, 6:16 PM
LunarCoffee
LunarCoffee - avatar