select
unix_timestamp(start_date) as sday,
unix_timestamp(end_date) as eday,
left(concat_ws(', ',event,location),80) as nevent
from data_Calendar where
checked=1 and
(month(start_date)<=index.html and month(end_date)>=index.html)
Unknown column 'index.html' in 'where clause'