<?php for ($i=65; $i <=90 ; $i++) { // $k= rand(65,90); echo chr($i)." "; if (($i+1) % 5==0) { echo "<br>"; } } ?>