Well, in that case, you probably haven't found it in a PHP book because it's actually a HTML problem :).
Since page requests have to be made by the client, and cannot result from any action by the server (i.e. the web isn't a "push" technology", as they are still sometimes called), you have to instruct the browser to re-request the page every so often.
Put something like this in your page header:
<meta http-equiv="refresh" content="30;URL=your_page.php" />
That'll cause the browser to make a new request for the page, every 30 seconds (hence the number "30" in the content atribute). This will continue every 30 seconds for as long as the page remains open in the browser window. Be careful about this, though, since it can be very annoying to users on slow connections, who may never get a complete copy of the page before their browser makes a new request for it, and thus end up constantly looking at a part-completed page.
Take it easy
Dan
|