ive also got this chunk of code, which makes one giant table out of the contents.
$dir_name = "/home/httpd/html/ent/content/";
$handle=opendir($dir_name );
echo "<table border=\"1\">";
$count=0;
while ($file = readdir($handle)) {
if ($file != "." && $file != "..") {
if ($count==0) echo "<tr>";
echo "<td>$file</td>";
$count++;
if ($count==3) {
echo "</tr>";
$count=0;
}
}
}
if ($count != 0) echo "</tr>";
echo "</table>";
closedir($handle);
what would i have to do to slice this giant table into smaller tables ? (this is the same as im trying to do above).