Ok, you're on the right track... but you're following instructions for a later version...
The overLib section that was talked about here, is the automated version... the PHP code looks like this
PHP Code:
<?php $OL=1; require ("calendar/showCalendar.php"); ?>
Since you're using an older version, you have two options...
1- Move your drop-downs below the calendar - which will be processed after the calendar is hence having the mth[] array initialized with the proper month's names...
2- You can replace the $mth[$N] by gmdate("F", mktime(0,0,0,$N))
Or you could also create yourself an array that's the same as mth[] or you could include escalConfig.php before the drop-downs, but those are not-so-clean ways of doing it...
Good luck
|