Updating user status using PHP and SQL code example
Example: live update mysql data in php
$(document).ready(function(){
loadstation();
});
function loadstation(){
$("#station_data").load("station.php");
setTimeout(loadstation, 2000);
}