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 would suggest using setInterval to poll for results from a .php page using AJAx and then output your results.
So it would look something like this using jQuery: