Mira este ejemplo:
Código PHP:
Ver original$data = array('A','B','C','D','E','F','G','H','I','J','K','L','LL','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z');
echo "<table>";
$con=0;
$col=0;
foreach ($data as $key => $value) {
echo "<tr>";
echo "<td>".$data[$con]."</td>";
echo "</tr>";
$con++;
$col++;
if($col==10){
echo "</table><table>";
$col=0;
}
}
echo "</table>";
A K T
B L U
C LL V
D M W
E N X
F O Y
G P Z
W Q
I R
J S