I have a table in my database called log_events. In this table there is a column called tags. If there is a value of “debug” in that column and the date it was put in the database is more than 30 days, then that entry should be deleted. I will run the script via a cron. How can this be done using PHP please, any ideas?
Thanks for any help, in advance.
I have a table in my database called log_events . In this table there
Share
The SQL Query should look something like this