Posted by Ramon on 08/24/05 10:11
Well... I can't say that I know a PHP solution to this problem.
But if I were in your shoes I would split up the content I need rendered
and the function in question. Make sure that the *function* is sitting
in its own PHP file. Then render all the other content in the main
window. And have a frame or and iframe render the other function in its
own PHP file.
hope that makes sence. As I'm tired.
Cheers,
D
sindre hiåsen wrote:
> Hi,
>
> My problem is that a function in the page have a rather heavy mysql
> query. The query takes between 6 - 10 seconds. while the query takes
> place other content on the page stop loading (Opera). Explorer and
> Firefox seems to wait for the whole page to load befor drawing the site.
>
> Is there a way to tell the browser to draw all the content except for
> this function and run through this at the end, alternatively to run the
> process in backround?
>
> This functionality a want is on many sites who let you search through
> multiple whois databases.
>
>
> Regards,
>
> Sindre
[Back to original message]
|