<?php echo '<table border="1"><tr>'; foreach(range(1,20) as $key => $row) { echo '<td>'. $row . '</td>'; if(++$key % 5 == 0 ) echo '</tr><tr>'; } echo '</td></table>';
You have javascript disabled. You will not be able to edit any code.