Hello, I have a problem that I'm pretty sure I already got done before but I got lost since I didn't note down my changes with my code. My problem is that I need my displayed calendar to move fluidly showing the next 4 months and the previous 4 months. This is my calendar php.
</table></td>
</tr>
<tr>
<td align=center>
<?
print "<table cellpadding=1 cellspacing=0 border=0>";
for($i=0;$i<1;$i++) {
print "<tr>";
for($j=0;$j<4;$j++) {
print "<td>";
$cal->SetDate($month,$year);
$cal->Show();
$month++;
if ($month==13) {
$month=1;
$year++;
}
print "</td>";
}
print "</tr>";
}
print "</table>";
if ($page>1) {
$prev=$page-1;
print "<a class=\"link\" href=\"".$_SERVER['PHP_SELF']."?p=$prev\">Prev</a> ";
}
if ($page>=1) {
$next=$page+1;
print "<a class=\"link\" href=\"".$_SERVER['PHP_SELF']."?p=$next\">Next</a>";
}
?>
</td>
</tr>
</form>
</table>
Can anyone help? Please...