Slå in resultatet i en annan tabell.
echo "<table>";
$count = 0;
$num_columns = 2; // or 3
while ($rc = mysql_fetch_array($results_course)) {
if ($count++ % $num_columns == 0) {
echo "<tr>";
}
echo "<td>";
// previous table code here
echo "</td>";
if ($count % $num_columns == 0) {
echo "</tr>";
}
}
if ($count % $num_columns > 0) {
echo "</tr>";
}
echo "</table>";