Show If adexpires is less than or = to todays date
I want to display an Ad Expired Warning on my clients ad management page. It works when I type in todays date, I also tried NOW() and CURDATE() and cannot get them to work. I simply replaced2014-06-10 with NOW()..... I must be missing something.
<?php
if ($row_WADAtbl_posts["adexpires"] <= "2014-06-10") {
?>
Thank You!