Deals
Deals -
Price :
=
$0.00
Coupon Expires On:
select a.*,b.MerchantName as MerName,MerchantName2,Logo from tbldealsnew a,tblmerchants b where a.MerchantID=b.MerchantId and a.EndDate >= CURRENT_DATE() and a.Status = 1 and a.StartDate <=CURRENT_DATE() and a.DealId != 23662 AND CategoryID= ORDER BY DealID DESC LIMIT 8You 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 DealID DESC LIMIT 8' at line 1