title: PHP or JavaScript periodic function call?
body: <p>Is there any way to periodically check a database in PHP or JavaScript?</p>
  
  <p>I want to perform a database query periodically in a single page. How can I do that?</p>