RE: [PHP] Call to external function
| From: | Jeff McKeon | Date: | Fri, 23 Apr 2004 17:35:34 +0000 |
| Subject: | RE: [PHP] Call to external function | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-184442@lists.php.net to get a copy of this message | ||
>
> No... PHP and JavaScript are executing at different time and
> at different place. Besides, they are executed by different programs.
>
> Are you trying to measure execution time of a query??
>
> Look at:
> http://www.php.net/microtime
No, I'm trying to get a little animation on the left frame to start when a query begins a pull
(when the page begins to load) and then stop the animation when the page and data are fully loaded.
The top part of the page loads, and then the table containing the data from the mysql pull takes a
while. I want something to show the user that the server is still "thinking".
Jeff McKeon
IT Manager
Telaurus Communications LLC
jmckeon@telaurus.com
(973) 889-8990 ex 209
***The information contained in this communication is confidential. It is intended only for the sole
use of the recipient named above and may be legally privileged. If the reader of this message is not
the intended recipient, you are hereby notified that any dissemination, distribution or copying of
this communication, or any of its contents or attachments, is expressly prohibited. If you have
received this communication in error, please re-send it to the sender and delete the original
message, and any copy of it, from your computer system. Thank You.***
> -----Original Message-----
> From: William Lovaton [mailto:williama_lovaton@coomeva.com.co]
> Sent: Friday, April 23, 2004 12:39 PM
> To: php-general@lists.php.net
> Subject: Re: [PHP] Call to external function
>
>
> No... PHP and JavaScript are executing at different time and
> at different place. Besides, they are executed by different programs.
>
> Are you trying to measure execution time of a query??
>
> Look at:
> http://www.php.net/microtime
>
>
> -William
>
>
> El vie, 23-04-2004 a las 09:09, Jeff McKeon escribió:
> > Is there a way in PHP to make a call to a javascript funtion?
> >
> > I have a javascript that I want to start when an sql query
> begins and
> > stop when the php code is done. Is this possible?
> >
> > Thanks,
> >
> > Jeff
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>