SQL ERROR: select * from web_advertisement where adv_column= and unix_timestamp(adv_date_e)>unix_timestamp(now()) and adv_pass>0 ORDER BY adv_indextime desc

INFO: 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 unix_timestamp(adv_date_e)>unix_timestamp(now()) and adv_pass>0 ORDER BY adv' at line 1