Error:

SELECT ProductId, ProductName, ProductDescription, ProductPrice, HTMLTitle, MetaKW, MetaTags, TimeTaken, Picture, ShortDesc, ProductPrice, Pic1, Pic2, Pic3, Pic4, Pic5, PromoStartDate, PromoEndDate, PromoDiscount, DAY(PromoEndDate) AS DPED, MONTHNAME(PromoEndDate) AS MPED, YEAR(PromoEndDate) AS YPED, SEOURLName FROM tbl_gf_products A WHERE DisableProduct = 0 AND LIMIT 1

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 'LIMIT 1' at line 3