vouchers


Error while executing the query

SELECT b.tpvcn_network_id, c.tbm_id, c.tbm_name, c.tbm_logo1, c.tbm_alias, c.tbm_cashback, c.tbm_cashback_dbl, c.tbm_cashback_description, a . * FROM tblproduct_voucher_codes AS a, tblproduct_voucher_codes_network AS b, tblmerchant AS c WHERE c.tbm_merchant_id= AND c.tbm_network= AND a.tpvc_active = '1' AND a.tpvc_start_date <= '2017-11-19 04:01:22' AND c.tbm_active = '1' AND b.tpvcn_icode_name = a.tpvc_network AND c.tbm_network = b.tpvcn_network_id AND c.tbm_merchant_id = a.tpvc_merchant_id UNION ALL SELECT b.tpvcn_network_id, c.tbm_id, c.tbm_name, c.tbm_logo1, c.tbm_alias, c.tbm_cashback, c.tbm_cashback_dbl, c.tbm_cashback_description, a . * FROM tblproduct_offers AS a, tblproduct_voucher_codes_network AS b, tblmerchant AS c WHERE c.tbm_merchant_id= AND c.tbm_network= AND a.tpo_active = '1' AND a.tpo_start_date <= '2017-11-19 04:01:22' AND c.tbm_active = '1' AND b.tpvcn_icode_name = a.tpo_network AND c.tbm_merchant_id = a.tpo_merchant_id ORDER BY tpvc_expiry_date
No Offers/Vouchers for this merchant today