I am trying to develop a result page in php where the results of a play(id, date, time, result) will be published periodically after every 20 minutes. The result might come from File or Database. I did some R&D and found that cronjob can be used. But, as I am using a host with no cronjob support, I am trying to do it without cronjob. also set_time_limit(0) won’t help as I am on a shared host.
I am trying to develop a result page in php where the results of
Share
cronjob is method which is performed by server not by client if you want to display result at client side all you need to do is use ajax function and call that function using set Interval javascript function.
Sample example is as below
and call this function on page load.
initialize()