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 'ORDER BY art.`date` DESC LIMIT 5' at line 9 at /home/wheremin/public_html/_modules/top10/top10.module.php line 231
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 'ORDER BY art.`date` DESC LIMIT 5' at line 9
    [query] => SELECT art.*, img.filename, rbr.`id` as rubric_id, rbr.title_rus as title
                FROM where_ucat_class_articles_mag art
                    LEFT JOIN where_images img ON art.`_picture_photo1` = img.`id`
                    LEFT JOIN where_ucat_class_rubrics_mag rbr ON art.`_assoc_56_rubric` = rbr.`id`
                WHERE art.`public` = 'да'
                    AND art.`_assoc_56_rubric` = '15'
                    AND art.`date` < NOW()
					AND art.id <> 
                ORDER BY art.`date` DESC LIMIT 5
    [context] => /home/wheremin/public_html/_modules/top10/top10.module.php line 231
)