title: Auto call a php function every 10 seconds
body: <p>I have a function that reads certain elements from a file that is updated nearly every second. I am trying to find a way to auto call the function so it re-prints that information every ten seconds.</p>
  
  <p>What is the best way to do this? I tried some javascript but I could not get it to work. All help is appreciated.</p>