Hey experts, I really need to this. I want a way to make a div works like (real-time), when the database change automatic update the div. so if i have a div with value of 5 and this value i got it from the database with mysql like "SELECT count FROM tablename" And fetched it out on a div with php, how can i make this div get to 6 when the value on the database really changed. Thanks, anyhelp
You would have to use AJAX. Put the js code into a loop so it gets and updates the div in real time. http://www.w3schools.com/ajax/default.asp