I would like data on a webpage to update to the latest info in real time without refreshing the page - like a data feed but just display info.
I am able to write an admin centre in PHP that will write contents to a file on the server.
But i cant work out the best way to have the webpage check for new data. I was going to use a loop that checks the last modified time of the source data file but this creates stack overflow errors. Basically all i need is for a page to check for a modified file then refresh itself if found - only needs to update if it finds the data is out of date so most checks will result in no change.