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);


Помог ли вам данный ответ?

 Распечатать статью

Также читают

Server Path Issues

Server path issues usually occur when the calendar is moved from one server or directory to...

Why is the time an hour off?

Does your calendar mark the next day an hour late or an hour early? This probably is because of...

UTF-8 Encoding and Languages

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

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...

How to use $thisFile

In some instances, PHP will not be able to provide the calender with the correct file name of the...