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 '-10, 10' at line 1
select *, DAYOFMONTH(start_date) AS event from events_calendar where ((MONTH(start_date) = '10' and YEAR(start_date) = '2010') or (MONTH(end_date) = '10' and YEAR(end_date) = '2010')) and language_id = '1' order by start_date limit -10, 10