Just to be safe, here's some live code that I'm using.
<?php
echo "<table><tr>";
$noNav = 1;
echo "<td align=\"center\">";
require("calendar/calendar.php");
$mo++;
if (++$mo > 12) {
$mo = 1;
$yr++;
}
echo "</td>";
echo "<td align=\"center\">";
require("calendar/calendar.php");
$mo++;
if (++$mo > 12) {
$mo = 1;
$yr++;
}
echo "</td>";
echo "<td align=\"center\">";
require("calendar/calendar.php");
echo "</td>";
echo "</tr></table>";
?>
This will display 3 months in a horizontal fashion. You can increase the distance between the months by varying the table parameters such as padding, etc.
Also, note the use of $noNav = 1;. You will need to use that to turn off the navigation beneath each calendar. Pretty messy if you don't.
|