ladyxmoonlight Posted November 6, 2008 Share Posted November 6, 2008 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 More sharing options...
corbin Posted November 6, 2008 Share Posted November 6, 2008 Try changing <? to <?php Link to comment https://forums.phpfreaks.com/topic/131719-php-calender/#findComment-684195 Share on other sites More sharing options...
ILMV Posted November 6, 2008 Share Posted November 6, 2008 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 More sharing options...
ILMV Posted November 6, 2008 Share Posted November 6, 2008 Damn, 7 seconds too late... Link to comment https://forums.phpfreaks.com/topic/131719-php-calender/#findComment-684198 Share on other sites More sharing options...
ladyxmoonlight Posted November 7, 2008 Author Share Posted November 7, 2008 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.