while ($yy < 26) { $xx = 0; while ($xx < 26) { print " $outtie[$xx][$yy] "; $xx++; } print "\n"; $yy++; }