There was an error running the query [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 '?tag=3) AND display = 1 ORDER BY post_date DESC' at line 1]
Query:
SELECT t1.ID FROM blog_post as t1 LEFT JOIN blog_tag_post_assoc as t2 ON t1.ID = t2.blog_post_id WHERE 1 = 1 AND t2.blog_tag_id IN (?tag=3) AND display = 1 ORDER BY post_date DESC