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 'ORDER BY t.start_date asc
LIMIT 5' at line 4
SELECT *
FROM `st_tours` t
WHERE t.status=1 AND t.start_date > now() AND t.day_or_group='group' AND t.id!=
ORDER BY t.start_date asc
LIMIT 5