| 
 Posted by Ian Davies on 06/13/06 11:51 
Just tried the sleep function it doesnt seem to work 
code as follows 
 
echo "$prog_msg"; 
sleep(1); 
echo "$prog_msg2"; 
 
The two messages appear at the same time. am i using this function correctly 
Thought it might not be long enough delay but same result with sleep(10); 
Ian 
 
 
"Janwillem Borleffs" <jw@jwscripts.com> wrote in message 
news:44a11688$0$79754$dbd4d001@news.euronet.nl... 
> Ian Davies wrote: 
> > Because this happens so quickly the messags appear at the same time. 
> > I wish to have a second delay between the first and second message. 
> > How do I insert a delay into my script. This is purely cosmetic just 
> > to create the impression that something is churning away uploading 
> > the file 
> > 
> 
> http://www.php.net/sleep 
> 
> 
> JW 
> 
>
 
  
Navigation:
[Reply to this message] 
 |