I'm not quite sure how to ask this, but here goes. I have a MySQL table that has the following fields: dateRegistered
and expiryDate
.The fields are quite self explanatory, now what I am trying to achieve is have a php script be executed when the date on the expiryDate
is reached. I really don't know where to start. Example:
+--------+---------------------+---------------------+
| userID | dateCreated | expiryDate |
+--------+---------------------+---------------------+
| 52 | 2015-10-08 13:30:17 | 2015-10-09 13:30:17 |
+--------+---------------------+---------------------+
When the date under expiryDate
is reached, a php script gets triggered. Is this possible? Are the ways