Re: Displaying data as while recieving form mysql server

From: Date: Fri, 22 Feb 2002 23:30:08 +0000
Subject: Re: Displaying data as while recieving form mysql server
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-17211@lists.php.net to get a copy of this message
Hi Lee, You can't. A <table> has to be closed </table> before a browser can render it and present it to you. So, the webserver may well be trowing echo("<tr><td>".$row[$i]."<td></tr>\n"); to the browser, the browser will wait for the </table>. You might try cutting the one big table into smaller tables, each complete table will be visible as it is completed. Or find an alternative and don't use tables. This also argues that it is not wise to put an entire (much content) page into a table: <body> <table> ... content, much content ... </table> </body> as it simply takes ages before anything seems to happen in your browser. M.vr.gr. Roel Mulder At 16:17 22-02-2002 -0600, you wrote:
Hello. After I run my mysql query and get the results, then I do a look to put the data into table rows that go to a webbrowser. How can i set it up so that the user see's the table rows as their writen, not after the script is all done. Lee lee@ricis.com -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Mulder Technisch Advies Postbus 69 NL-2740 AB WADDINXVEEN tel. 0182-640184 fax. 0182-640185 http://www.mta.nl

« previous php.db (#17211) next »