I have a MySQL database with a PHP front end. In my records I have a posted date and an expire date directly accessed from the database. What I need to do is check and see if any records expire date matches posted date.
Something like:
<?php $posted_date= $row_Recordset1['date_posted']; ?>
<?php $exp_date= $row_Recordset1['expire_date']; ?>
<?php if ($posted_date("Y-m-d") >= $exp_date("Y-m-d")) {
//statement
<?php } ?>