Re: Tables Loading Slow

From: Date: Wed, 30 Jan 2002 22:20:57 +0000
Subject: Re: Tables Loading Slow
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-82836@lists.php.net to get a copy of this message
Maybe this is a solution for you: instead of: <table> <tr><td>1</td><td>data 1</td></tr> <tr><td>2</td><td>data 2</td></tr> <tr><td>3</td><td>data 3</td></tr> <tr><td>4</td><td>data 4</td></tr> </table> you can do this: <table> <tr><td>1</td><td>data 1</td></tr> </table><br> <table> <tr><td>2</td><td>data 2</td></tr> </table><br> <table> <tr><td>3</td><td>data 3</td></tr> </table><br> <table> <tr><td>4</td><td>data 4</td></tr> </table><br> If you can't beat them, join them! Greets, Edward "Adam Leckron" <singe60@hotmail.com> wrote in message news:20020130150604.37382.qmail@pb1.pair.com... > from the PHP manual > [flush()] > ...Even the browser may buffer its input before displaying it. Netscape, for > example, buffers text until it receives an end-of-line or the beginning of a > tag, and it won't render tables until the </table> tag of the outermost > table is seen... > > even if you're flushing the buffer after rows are processed, you probably > wont get any increase in load time because of this rendering issue... it's > just a drawback of using tables in html, regardless of how they are > generated... > > -- > Adam Leckron [[ singe60@hotmail.com ]] > > > "Tony Bibbs" <tony@tonybibbs.com> wrote in message > news:1012401977.6913.10.camel@tbibbs... > > Check the PHP manual on flush() > > > > --Tony > > > > On Wed, 2002-01-30 at 08:38, Bryan Gintz wrote: > > > Hi. > > > I have a large database query that returns anywhere from 10-30ish > > > records. The problem comes from loading them in tables. With IE5 and > > > Netscape 5 on windows, the results do not display until the last > > > </table> tag is written. Does anyone have any ideas on how to show the > > > results as the come from the query? > > > > > > Thanks. > > > > > > > > > -- > > > PHP General Mailing List (http://www.php.net/) > > > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > > > For additional commands, e-mail: php-general-help@lists.php.net > > > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > -- > > Tony Bibbs | Life is a moderately good play > > tony@tonybibbs.com | with a bad 3rd act. > > 515.554.8046 | > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#82836) next »