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.

      <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>";




    if ($month==13) {




    print "</td>";


  print "</tr>";


print "</table>";

if ($page>1) {


  print "<a class=\"link\" href=\"".$_SERVER['PHP_SELF']."?p=$prev\">Prev</a>&nbsp;";


if ($page>=1) {


  print "<a class=\"link\" href=\"".$_SERVER['PHP_SELF']."?p=$next\">Next</a>";



Can anyone help? Please...

Member Avatar

What are we supposed to be looking at?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.