Deals
Deals -
Price: $0.00
Price Details:
=
$0.00
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 != 195066 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