SELECT * FROM mc_schedule WHERE (sc_start_date >= '2025-12-01' AND sc_start_date <= LAST_DAY('2025-12-01')) OR (sc_end_date >= '2025-12-01' AND sc_end_date <= LAST_DAY('2025-12-01')) ORDER BY sc_start_date ASC LIMIT -10,10

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 6

error file : /community/calendar.php