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(); ?> Link to comment https://forums.phpfreaks.com/topic/68981-help-on/ 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? Link to comment https://forums.phpfreaks.com/topic/68981-help-on/#findComment-346743 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> Link to comment https://forums.phpfreaks.com/topic/68981-help-on/#findComment-346749 Share on other sites More sharing options...
watthehell Posted September 12, 2007 Author Share Posted September 12, 2007 *bump* Link to comment https://forums.phpfreaks.com/topic/68981-help-on/#findComment-346758 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.