I need a count ranging from 1 to 24, but in that order:
1,9,17,2,10,18,3,11,19,4,12,20,5,13,21,6,14,22,7,15,23,8,16,24
I did it that way, but I wanted something more "elegant."
for($x=1;$x<9;$x++){
echo $x.' '.($x+8).' '.($x+16);...
asked by
04.06.2018 / 21:59