1064 - 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 'and status='1' and (expires_date=NULL or expires_date='0000-00-00' or now()<=exp' at line 1

select expires_date from specials where products_id= and status='1' and (expires_date=NULL or expires_date='0000-00-00' or now()<=expires_date)

[TEP STOP]