title: Display realtime user status using AJAX and PHP from a MySQL database
body: <p>I have a simple mysql query which shows users last status. I now want to go further and create a page to show users most recent status without refreshing. The mysql DB is dynamically updated with the users status.</p>
  
  <p>So all that is required is for the page rendering the mysql to refresh with the latest user status without me having to hit the refresh button. </p>
  
  <p>Could anyone provide guidance on how I go about doing this. Thanks</p>