Re: Slow Performance viewing from local network.
| From: | Ed Vul | Date: | Wed, 26 Jul 2000 17:42:01 +0000 |
| Subject: | Re: Slow Performance viewing from local network. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-8358@lists.php.net to get a copy of this message | ||
Well first of all, in your code you close the table row before closing the
table column....
Im not sure what kind of effect this has on your browser, but I think that
is a no no.. (that wouldnt explain the slow load though, i think)
echo'</tr></td>';
should be:
echo '</td></tr>';
I doubt that this is the problem, but who knows.
Ed
"mark lo" <markloky@netvigator.com> wrote in message
news:397F1C4E.9BB7834C@netvigator.com...
> Hi,
>
> If I am viewng the following web page on the server itself , the
> page pop up instantly. But when I viewing the following page from
> other machine connected by ethernet card 10/100 base. The page shows up
> very slowly. What is wrong with this kind of programming style.
>
> $a=0;
> while ($row=mysql_fetch_object($result))
> { echo' <tr><td>';
> echo $row[$a];
> $a++;
> echo'</tr></td>'; }
>
> Thank You
>
> Mark
>
>
> --
> 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
>