I need the following output in php | SoloLearn: Learn to code for FREE!

0

I need the following output in php

12345 678910 1112131415 1617181920

php

12/10/2017 5:46:23 PM

hassan

2 Answers

New Answer

+4

okay? $a=1; for($i=0;$i<20;$i++) { echo $a++; }

+2

With the line breaks: $a=1; for($i = 0; $i < 4; $i++) { for($e = 0; $e < 5; $e++) { echo $a++; } echo "\n"; }