<?php for ($i = 0; $i < 4; ++$i) { for ($s = '', $j = 0; $j < 4; ++$j) { $s .= ($i + $j) % 4 + 1; echo $s . "\n"; } }
You have javascript disabled. You will not be able to edit any code.