Re: sleep function
| From: | Richard Lynch | Date: | Thu, 12 May 2005 22:43:26 +0000 |
| Subject: | Re: sleep function | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-215083@lists.php.net to get a copy of this message | ||
On Thu, May 12, 2005 12:39 pm, virtualsoftware@gmail.com said:
> I want to create a script that displays all names from a database once per
> second.
> A part of the script look like this.
>
> for ($i=0; $i<$total_names; $i++)
> {
> echo "name<br>";
http://php.net/flush
> sleep (1);
> }
--
Like Music?
http://l-i-e.com/artists.htm