I am looking for a way to auto delete rows in the database after 24 hours. I am not sure how to use cron job in the phpmyadmin. Is there a way to auto delete rows in the database from Phpmyadmin?
Thanks
I am looking for a way to auto delete rows in the database after 24 hours. I am not sure how to use cron job in the phpmyadmin. Is there a way to auto delete rows in the database from Phpmyadmin?
Thanks
You actually shouldn’t be deleting rows from a database, for a production system. And you are combining things that are not related at all.
I understand. How can I create a cron job in php to auto delete? I was thinking of using a countdown timer but not sure if it would work.
You don’t create a cron job in php, that is part of the server. Follow the steps I outlined first.