--- Jeff McKeon <[EMAIL PROTECTED]> wrote: > > > > 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".
Given the information that, I believe, Curt provided, you could put the "start" function in the <head> section, and use OnLoad() to stop the animation. I don't have access to my server at the moment to test it. > > Jeff McKeon > IT Manager > Telaurus Communications LLC > [EMAIL PROTECTED] > (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:[EMAIL PROTECTED] > > Sent: Friday, April 23, 2004 12:39 PM > > To: [EMAIL PROTECTED] > > 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 > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > ===== Mark Weinstock [EMAIL PROTECTED] *************************************** You can't demand something as a "right" unless you are willing to fight to death to defend everyone else's right to the same thing. *************************************** __________________________________ Do you Yahoo!? Yahoo! Photos: High-quality 4x6 digital prints for 25˘ http://photos.yahoo.com/ph/print_splash -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php