Jump to content

PHP Calender


ladyxmoonlight

Recommended Posts

I have a PHP calender that used to work but now it doesn't.  I'm thinking it might be a problem with my webhost but I'm not sure what to check or how to check it.

 

The PHP code is supposed to display an image each month and a special image on certain days of the month.  What it does it displays those special images all days of the month.

 

PHP code file included, pastebin didn't like it.

 

Any help would be greatly appreciated and I'll answer any questions as best I can.

 

[attachment deleted by admin]

Link to comment
https://forums.phpfreaks.com/topic/131719-php-calender/
Share on other sites

Works fine for me, displays a picture of a girl with November beside it?

 

One thing I had to do to get it to work on my WAMP server is change the code from <? ... ?> to <?php ... ?>, if you get a blank screen on your original code, view the source, if you can actually see your PHP code, then change the opening tag to <?php.

 

 

Picture of FF3 is attached if you want to check.

 

[attachment deleted by admin]

Link to comment
https://forums.phpfreaks.com/topic/131719-php-calender/#findComment-684196
Share on other sites

November works fine because there is no special dates.  However, October and December both have special dates.  It neither shows a blank image or the PHP code, it shows the special image the entire month.

 

Like, in October it showed the 10/31 image all month.  As with all past months.

Link to comment
https://forums.phpfreaks.com/topic/131719-php-calender/#findComment-684241
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.