thats easy??!?!?!?
well heres was my stab (a little to my credit)
<?php
echo "<table width=\"100%\" border=\"1\">";
//echo "<tr>";
$col = 0;
foreach(array_chunk($files,1)as $file){
if ($col >= 2) {
echo "<tr>";
$col = 0;
} else {
$col++;
}
echo"<td>";
echo $file[0] . "<br />";
echo "</td>";
if ($col >= 2) {
echo "</tr>";
}
}
//echo "</tr>";
echo "</table>";
?>
but the 3rd col 1st row is not there
eg
FILE FILE
FILE FILE FILE
FILE FILE FILE
etc.
also what if count($array) = an odd number