Limited offer!

Get a huge collection of PHP scripts in a special bundle!

Mega Sale Price


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.

Special Offer!

Get all 65 PHP scripts in a bundle for $4.29 each only!

Mega Sale Bundle Price
185 Comments to "Event Calendar"
  • Richard


    November 15, 2020 at 23:59 pm

    Is there and API for this calendar ? becauase i am having problems modifying output information.

  • Garry Lee

    Garry Lee

    December 26, 2019 at 00:25 am

    Forgot to mention that I tried all the mods in this site and still cannot get it to work when you change months. No events show. I did put in the mod for starting with Sunday. That worked a charm.

  • Garry Lee

    Garry Lee

    December 25, 2019 at 21:45 pm

    I love this script but am still having no luck showing events on any other months but the present month. Is there a version update we can download that has this working.
    I have searched for a long time for a simple script to display my events and this one fits the bill perfectly if we can get these issues fixed.
    Many thanks and great script.

  • Srinivas


    June 26, 2019 at 10:38 am

    Good work. It is working for the current month only. When we change the month it is not showing any events Any Suggestions

  • Melissa


    December 25, 2018 at 07:31 am


    How would you like to land in your prospective customer

  • sharon


    October 16, 2018 at 19:06 pm

    followed the instructions and downloaded. Changed the config.php and checked the connection However, when i run the example-page.html. Nothing appear. May i know why is that so ? Please advise.

  • jaja


    December 10, 2017 at 05:54 am

    It does not show events in the next month, only current. Is there a fix to this?

  • Lury


    May 13, 2017 at 16:49 pm

    Hi, on occasion I see a 404 server message when I view your webpage. I thought you may wish to know, cheers

  • vaidyamanishjoshi


    April 15, 2017 at 19:28 pm

    I want to highlight all date range between two dates..
    e.g. event starts on 24 April 2017 and ends on 30 April 2017, then I want to hightlight / different background color for all dates between these two dates plus on clicking any day between these two days , event details should be shown.

    I have already added two colums in event calendar mysql tabel with name event_date_from and event_date_upto

    How can we achieve it ?

  • TannerJuby


    February 22, 2017 at 00:19 am

    Is this script WordPress friendly? I need to add a calendar to my wordpress site, but all the plugins are too much functionality. I need exactly what this does, just show a calendar and some events


Add your comment