Re: sleep function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, May 12, 2005 12:39 pm, virtualsoftware@xxxxxxxxx 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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux