View Full Version : display back/same/next month same page
11-26-2003, 08:16 AM
Calendar script works fine on site www.fmhs.net , except with my coding it does not display on same page. Click on either the back/same/next link and you will see what is wrong with my code-nothing wrong with calendar script. Working fine with mySQL databases. Have searched for the answer for 2 days (like to fix myself) but time to ask for help.
if it helps am calling with <p align="center"><?php
11-26-2003, 08:45 AM
On the arrows and the dash, try changing the part of the code that reads $PHP_SELF with body.php.
Let me know if this helps.
11-26-2003, 09:13 AM
It now loads in the same page...but does not go to previous month or next month...I must be missing something...suggestion?
11-26-2003, 09:31 AM
Originally posted by payola@Nov 26 2003, 10:13 AM
Now I need to go find a new glitch...to make it go back or forward.
I'm not sure I understand. Is there something else not working as expected?
11-26-2003, 09:40 AM
Now loads in same page...but does not go back or forward...any suggestions?
11-26-2003, 10:49 AM
Are you using the calendar in a function?
11-26-2003, 01:36 PM
It now appears to be working 100%...thanks to your suggestion Papa.
I used ...
<? require ("http://fmhs.net/calendar/calendar.php?mo=$mo&yr=$yr"); ?>
11-26-2003, 01:58 PM
vBulletin® v3.8.4, Copyright ©2000-2013, Jelsoft Enterprises Ltd.