How to add if a mysql date is greater than current date in php


This might seem like a duplicate question, but it is not, I have been looking for it for weeks and couldn’t find the right answer for it, because what I want is with in php and not MySQL. Basically I want to add a an if expire_date(a table in MySQL) < current_date , my question is simple yet important for many projects. Thanks all..



Source link

Leave a Comment