On Thu, 13 Jun 2002, Pong-TC wrote:
> I run the simple code to display data from the database.  There are around
> 5000 records and 50 fields.  It takes around 1 1/2 min to retrieve the
> data to the browser.  I'd like to know if we can improve my code.  So, I
> can retrieve the data in a shorter period of time.  I have codes as
> follows:

You're sending 250,000 table cells. That's going to take a while to 
render, no matter what.

Are you sure that the time is taken in generating the data rather than in
actually rendering the display? How long does it take when you use lynx
and dump it to /dev/null?

% time lynx -dump http://yahoo.com > /dev/null                                     
lynx -dump http://yahoo.com > /dev/null  0.03s user 0.01s system 11% cpu 0.352 total


PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to