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 's%' AND s.status=1 GROUP BY s.postID' at line 13

SELECT s.*, u.first_name, u.last_name, u.photo, u.level, u.site_id, r.spotlight_id, r.web_id FROM spotlights s LEFT JOIN region_spotlights r ON (r.web_id=24 AND r.spotlight_id=s.postID) INNER JOIN users u ON s.userid=u.userID AND ((u.level = 3 AND r.web_id=24) OR (u.level != 3 AND u.site_id =24)) WHERE s.tags= '%Alzheimer's%' AND s.status=1 GROUP BY s.postID

Filename: controllers/Tag.php

Line Number: 59