Is this possible, and if so, how do I get this working?
If datetime from table is greater than another datetime from table, then run query.
so pretend its:
$date1 = $row["date1"]; (june 19th) (i have a query on the page were it updates the day everytime you visit, NOW())
$date2 = $row["date2"]; (june 20th)
if ($date1 > $date 2) {
RUN QUERY; }
But that above statement isn't working.
if anyone could help, thanks.