Posts by fng.dev • 26 points
1 post
-
1
votes1
answer59
viewsA: Update field value in Mysql using PHP if condition
I believe you will get a better result using php’s Datetime() class. How it works is simple and allows you to compare dates in a practical way. I will describe the standard usage, and you adapt your…