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 '-1' at line 1 SELECT n.newsid , n.title, n.short_text, DATE_FORMAT(n.start_date ,'%b %Y') newsdate, n.thumb_image , nt.type_name FROM news as n, news_types as nt WHERE n.feature = '1' AND n.active='1' AND n.typeid = nt.typeid ORDER BY n.start_date DESC LIMIT 5,-1