On a question of speed
Posted: Fri Jan 22, 2010 2:20 pm
Question: Is a web page faster to do everything under PHP or only use PHP on a limited basis - 1 large all inclusive PHP script or 27 one liners?
I.E.
<? php
echo "<table><tr><td> ...
mysql_query ("select * from ...
echo "$data[0] ...
etc etc etc
OR
<table><tr><td>
<?php mysql_query("select * from ... echo "$data[0] ?>
</td></tr>
</table>
Just an Enquiring mind...
or 
Thanks
I.E.
<? php
echo "<table><tr><td> ...
mysql_query ("select * from ...
echo "$data[0] ...
etc etc etc
OR
<table><tr><td>
<?php mysql_query("select * from ... echo "$data[0] ?>
</td></tr>
</table>
Just an Enquiring mind...
Thanks