Re: Automatic Refresh Page
| From: | Peter Beckman | Date: | Sun, 17 Nov 2002 07:48:44 +0000 |
| Subject: | Re: Automatic Refresh Page | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-23425@lists.php.net to get a copy of this message | ||
It is done in HTML usually:
<META HTTP-EQUIV=Refresh CONTENT="10; URL=http://www.htmlhelp.com/">
In php.
NOTE: This will only work if there is nothing else on the page. If you
want to print something then push them after 10 seconds, use the meta
refresh above.
<?php
sleep(10);
header("Location: http://www.htmlhelp.com");
Peter
On Sun, 17 Nov 2002, Afif wrote:
> Dear All,
>
> I have a question,
> how to make refresh page in certain time in php? so if my table
> have new data, in the page will automatic refresh in the certain time.
> does any one have sample script? would you pls share with me?
> highly appreciate for yr help
>
> --
> Warm regards,
> Afif
> mailto:afif@sur.ogs-id.com
>
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
---------------------------------------------------------------------------
Peter Beckman Systems Engineer, Fairfax Cable Access Corporation
beckman@purplecow.com http://www.purplecow.com/
---------------------------------------------------------------------------