I want to ask that how can i use php function again and again after some time automatically just like setInterval in Javascript. We set the time and it is on its job until t
I will surgest that you use a cron job to implement such functionality in your code.
Cron will run in the background based on the instruction you give it. check out this article