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 'news, 9' at line 1SELECT prod_id FROM product WHERE prod_active='1' AND prod_publish_date<='1280488172' AND prod_expire_date>'1280488172' AND prod_cat_id like '%,2,%' ORDER BY prod_publish_date DESC LIMIT news, 9