How to use the unset command

If you are displaying multiple copies of the calendar on the same page, you may need to clear some variables if some of them don't display properly or show the expected events. Just inset the line of code below before the require command for each additional calendar:

unset($displayedEvents,$showDateS,$EPCBLOG);


Was this answer helpful?

 Print this Article

Also Read

Calendar stopped working

So, the calendar was working wonderfully, but suddenly it has stopped. This guide will help to...

Why do background colors not show (white boxes)?

This generally happens when the categories haven't been properly saved. To fix this, log in to...

Why do the pop-ups not work?

For the pop-ups to work, they must be enabled on the Pop-ups page of the Setup Manager. Pick...

Visitors can't see events

If visitors can not see events, in the calendar settings:1) On the Users screen, make sure the...

UTF-8 Encoding and Languages

The Easy PHP Calendar will work with many different languages. The default encoding of the...