Re: [PHP3] long query so need a 'wait' box
| From: | (Richard Lynch) | Date: | Fri, 09 Jun 2000 23:32:21 +0000 |
| Subject: | Re: [PHP3] long query so need a 'wait' box | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-1500@lists.php.net to get a copy of this message | ||
In article <802568F2.003A06DA.00@acelondon.co.uk>,
david.tansley@acelondon.co.uk wrote:
> hello,
>
> I have a long query that takes about 40 secs, to complete. Whilst the user
> waits
> around to see the results, how can I put a ' wait geetting results..' type of
> thing
> or message on the screen ,then make the message disappear when the
transaction
> is complete
I don't know of any way to do this... I don't think you can... You can
do this:
<?php
echo "This is gonna take a minute or so (literally)...";
flush();
//database code here.
?>
--
Richard Lynch | If this was worth $$$ to you, buy a CD
US Customer Support Director | from one of the artists listed here:
Zend Technologies USA | http://www.L-I-E.com/artists.htm
http://www.zend.com | (this has nothing to do with Zend,
duh!)