[Solved] Running constant scripts [closed]


Your question seems terribly inconsistent, but it appears that you have the completely wrong approach. To have expiring items, you do not manually deactivate them when the expiry date comes or something like that. You simply have the expiry date as part of the item (say, a column in your database) and you select items which have not yet expired when you select items. E.g.:

SELECT * FROM `ads` WHERE `expiry_date` > NOW()

1

solved Running constant scripts [closed]