Database Error

A Database Error Occurred

Error Number: 1064

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1

SELECT DATE_FORMAT(start_date, '%M') AS date_month,DATE_FORMAT(start_date, '%m') AS date_month_number,DATE_FORMAT(start_date, '%Y') AS date_year, DATE_FORMAT(start_date, '%m%Y') AS date_order FROM tevents WHERE DATE_FORMAT(start_date, '%m%Y') =

Filename: views/template/events.php

Line Number: 8