Forum Moderators: coopster

Message Too Old, No Replies

Calendar Script

         

fib_81

7:56 pm on May 14, 2005 (gmt 0)

10+ Year Member



Hi Everyone,

I have been looking throughout the web for a calendar script(shows the month, dates that are linkable, and user have the option to see previous and future months) for php and I have not found anything that works well with linux operating system. Can someone direct me to a good calendar script?

Thanks,
Fib_81

fib_81

7:29 pm on May 15, 2005 (gmt 0)

10+ Year Member



Hi Everyone,

I actually found a code for calendar.

<snip>

However, when I tried change the month forward I get the month January 2000 and I clicked the button Previous I get the month December 1999. Any ideas why that is happening?

[edited by: ergophobe at 8:57 pm (utc) on May 15, 2005]
[edit reason] code dump - forum charter and copyright issues [/edit]

ergophobe

8:59 pm on May 15, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



The first thing I would do is print out the post array using

print_r($_POST);

to make sure that the values are getting passed.

Also, make sure that you set error_reporting to E_ALL either in your php.ini, .htaccess or in the script itself.

#php.ini
error_reporting E_ALL

#.htacces
php_value error_reporting 2047

#script
error_reporting(E_ALL);

If you get any undefined variable/index Notices, that could be your problem.