makman99
Junior Poster in Training
68 posts since Jan 2010
Reputation Points: 12
Solved Threads: 13
First you create a action page in php which will return you latest info you want to display.
I mean I guess you know using ajax or jquery to post and retrive data.
Now You call that ajax/jquery function using timer
jquery tutorial u may find here
http://phpacademy.org/videos/index.php?all
urtrivedi
Nearly a Posting Virtuoso
1,306 posts since Dec 2008
Reputation Points: 257
Solved Threads: 270
krish, those links were examples. You merely need to replace on_click functions with on_load
<body onLoad="StartUpdate()">
<script>
function UpdateOnlineUsers()
{
...
}
function StartUpdate()
{
setInterval("UpdateOnlineUsers()",1000); //Updates online users every second
}
</script>
...
</body>
makman99
Junior Poster in Training
68 posts since Jan 2010
Reputation Points: 12
Solved Threads: 13