Database Error; SQL: SELECT
DISTINCT
`t`.*
FROM `iZkRk_pods_gems_offer_matrix` AS `t`
WHERE ( offerid = AND offerstartdate = CURDATE() )
ORDER BY `t`.`offerid` DESC, `t`.`offerid`, `t`.`id`; Response: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND offerstartdate = CURDATE() )
...' at line 7