I have a MySQL database with a PHP interface. In my records, I have a publication date and an expiration date directly accessible from the database. What I need to do is check and see if the expiration dates of the date sent by date are the same.
Something like:
<?php $posted_date= $row_Recordset1['date_posted']; ?> <?php $exp_date= $row_Recordset1['expire_date']; ?> <?php if ($posted_date("Ymd") >= $exp_date("Ymd")) {
date php
amol Sep 30 '09 at 6:54 2009-09-30 06:54
source share