Re: Displaying data as while recieving form mysql server
| From: | O.J.I.K | Date: | Sun, 24 Feb 2002 11:34:38 +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-17263@lists.php.net to get a copy of this message | ||
Try to put all your Content to list of Array,..
So u can show the user what they have inputed,..
May it Help
<?:O:J:I:K:?>
ojikcute@yahoo.com
www.indiga.org
-------Original Message-------
From: Roel Mulder
Date: Saturday, February 23, 2002 07:00:50 AM
To: php-db@lists.php.net
Subject: Re: [PHP-DB] Displaying data as while recieving form mysql server
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
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
.