https://www.worldoweb.co.uk/2008/php-and-mysql-event-lister
PHP and MySQL Event Lister Script