echo $heading; ?>

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 '-3,3' at line 13

SELECT c.id as special_content_id, sp.`id` as id, sp.`title` as title, sp.`description` as description FROM ( `specials` as sp INNER JOIN `contents` as c ON sp.`id`=c.`item_id` AND c.`item_type`=32 ) INNER JOIN `pages` as p ON sp.`id`=p.`special_id` WHERE c.`active`=1 AND sp.`special`=0 GROUP BY c.id ORDER BY sp.id LIMIT -3,3