Jump to content

help on <? include"" ?>


watthehell

Recommended Posts

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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.