The Event Calendar script reads events from MySQL table. Below is a description of the files used and what each one of them does.

calendar.css - external CSS file which lets you easily change the appearance. If you do not know how to locate the styles used for each calendar element please refer to "Inspect CSS styles using Chrome" video found here

calendar.js - all the JS functions used to scroll the calendar and the ajax calls made to load both the calendar and the events

calendar.php - this is the PHP script used to build and print the calendar widget

config.php - the file where mysql database login is defined

database.sql - mysql table structure

events.php - this is the PHP file which loads the events once you click on a date

example-page.html - a sample web page with embed calendar widget.


To download Event Calendar for FREE you need to login your account.

how to install

Follow these steps to run this free PHP Event Calendar script.

1) open database.sql and import all the MYSQL queries in your database. We've included few sample events there.

2) edit config.php file and set MySQL login details to connect to your database.

3) use your web browser to open the example-page.html which will show the calendar.
128 Comments to "Event Calendar"
  • cumali


    April 1, 2016 at 05:16 am

    hi everyone.i set it up and show up nicely.but there is a block way for me that i cant move show properly but when i click it it dosent take me to current event(s) page.SO is there a way to do this so..any help will be apprichate.thnks millons by now...

  • gomesh


    February 23, 2016 at 11:19 am

    I am currently trying to use this script in my website. However, i seem to have run into problem, like the calendar shows event of the CURRENT month only, it does not show events from previous months.Any help in this regard would be highly appreciated. Thanks in advance.

  • darren


    October 10, 2015 at 00:12 am

    Hi there, firstly great script! would it be possible to have all the "upcoming events" in a list on the events.php page, and if its not too much to ask for it to not show events which have expired, thanks


  • Aman Soni

    Aman Soni

    September 28, 2015 at 22:09 pm

    It's not working..please help..or explain me how to use it...

  • vaidyamanishjoshi


    September 21, 2015 at 21:15 pm

    My server is migrated from php 5.3 to php 5.4

    After that calendar.js code is shown on webpage instead of actual calendar...

    any suggestions please...

  • Tharavadee


    September 17, 2015 at 06:37 am

    If i want to search name in database to show in calendar. How can i do it ?

  • Jessa Abulencia

    Jessa Abulencia

    September 14, 2015 at 11:06 am

    I cant view the calendar. How can I make it work? Thank you for the help..

  • mahe


    September 11, 2015 at 11:50 am

    on mouse over event is not displayed.. can one show me a correct code !

  • mahe


    September 11, 2015 at 11:38 am

    how make a event display in calendar

  • Red X

    Red X

    August 19, 2015 at 16:12 pm

    Hi, I want to know how can I use the event properties..if someone can help me....thanks a lot!

    • Red X

      Red X

      August 19, 2015 at 16:43 pm

      And i want to know if I can to create a calendar event dynamic...for every user personal..a calendar private..not for all users..for example...John create his personal event...Marry create her personal event...and the list continue..


Add your comment