In my php script i have an object->function which will check the database and return an array of people who are logged within last certain time(say last 5 minutes). THis info is displayed as the page loads ofcourse. (so far working fine)
What I am trying to do is get this array of logged people every say 5 minutes by calling that function and displaying it in the page like using javascript settimeout function even though the page is idle ie without having to refresh or reloading the current page.
I am only assuming perhaps this is possible since with javascript using settimeout you can change color of a div or picture with rest of the content on the page remaining the same.
It would be great help if someone could give me a solution.
Thanks
masikwha