php format of upade query using mysqli code example
Example: live update mysql data in php
$(document).ready(function(){
loadstation();
});
function loadstation(){
$("#station_data").load("station.php");
setTimeout(loadstation, 2000);
}