watthehell Posted September 12, 2007 Share Posted September 12, 2007 hi all; i have a reservation page where i included a php calendar, now i want to navigate to next month by pressing next link <a href="reservation.php?nextmonth=<?=$currmonth+1;?>" class="cal_font_month">>></a> here when i keep calendar.php in href only the calendar opens, so i kept the link to reservation.php but how to get the month and date values, lil confused in that here's my code to show the calendar <?php echo @$_SESSION['mycurrdate']; ?></td> <td width="35" align="center" valign="middle" bgcolor="#EB208C" class="cal_font_month" style="background-image:url(images/navigationbg.jpg);"><a href="#" class="cal_font_month">>></a></td> </tr> <tr> <td height="226" colspan="2" valign="top" bgcolor="#EB208C"><? $id=1; $month=date("n"); $year=date("Y"); DisplayCalender($id,$month,$year); ob_end_flush(); ?> Quote Link to comment Share on other sites More sharing options...
gerkintrigg Posted September 12, 2007 Share Posted September 12, 2007 do you have an example so I can see the calendar in action? I used a check box system when i designed: http://www.tichbornes.co.uk Does that answer your question? Quote Link to comment Share on other sites More sharing options...
watthehell Posted September 12, 2007 Author Share Posted September 12, 2007 sorry i haven't uploaded it (don't have webspace, searching for a really good one) can this be achieved by lil' variation of this <a href="reservation.php?nextmonth=<?=$currmonth+1;?>" class="cal_font_month">>></a> Quote Link to comment Share on other sites More sharing options...
watthehell Posted September 12, 2007 Author Share Posted September 12, 2007 *bump* Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.