MySQL Error: 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 '201) AND c.`id` = p.`Content` AND c.`type` = 6 AND c.`dostop` = 1 ' at line 3 at /var/www/pravby/data/www/pravoslavie.by/includes/class/class.content.php line 510
Array
(
    [code] => 1064
    [message] => 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 '201) AND c.`id` = p.`Content` AND c.`type` = 6  AND c.`dostop` = 1    
        ' at line 3
    [query] => SELECT c.*
                                     FROM `Post_Tags` p, `content` c
                                     WHERE  p.`Tag` IN (,201) AND c.`id` = p.`Content` AND c.`type` = 6  AND c.`dostop` = 1    
                                     GROUP BY p.`Content`
                                     HAVING COUNT(p.`id`) = 2
                                     ORDER BY c.`date` DESC
                                     LIMIT 0, 10
    [context] => /var/www/pravby/data/www/pravoslavie.by/includes/class/class.content.php line 510
)