title: Refresh page after a database entry without Javascript's setTimeout()
body: <p>Isn't there a way where I can refresh the page right after a database new entry WITHOUT using Javascript <em>setTimeout</em> or <em>setInterval</em>?</p>
  
  <p>Isn't there an AJAX function to do so? Or maybe a MySql function?</p>
  
  <p>The only way is keep checking the database all the time?
  Doesn't it spend too much of the server?</p>
  
  <p>My page will work like a Messenger.</p>