Posts by louise
-
1
Can I include two of the calendar files (such as calendar.php and calendar_year.php) on the same page?
Sorry, but no. You will get an error like this:
Fatal error: Cannot redeclare class date_calc in /home/user/public_html/calendar/calc.php on line 31
This happens because calendar.php defines the date_calc function relating it to the month, since it’s just a month calendar. The other two files (calendar_year.php and calendar_bdays.php) define the date_calc function relating it to the year. So, when you try to include them to the same page, the second file you include won’t work.
May 21, 2004 |
By Louise |
Filed under FAQ, PHPCalendar, Scripts
-
2
Here’s what you need to do in order to show next month’s calendar.
November 19, 2003 |
By Louise |
Comments Off |
Filed under Scripts: PHPCalendar, Tutorials
-
3
This is a code you can use to show a random quote at any page you wish.
October 6, 2003 |
By Louise |
Comments Off |
Filed under Scripts: PHPQuotes, Tutorials
-
4
Many people have asked me if they could use tooltips with PHPCalendar. Sure you can. Here’s how.
October 6, 2003 |
By Louise |
Comments Off |
Filed under Scripts: PHPCalendar, Tutorials
-
5
I’ve just added two tutorials. The first one is something I got asked for several times, and here it is now: using Tooltips with PHPCalendar. The second one is for PHPQuotes, which teaches you how to add a random quote to any page you wish.
October 6, 2003 |
By Louise |
Comments Off |
Filed under Tutorials, Updates