Forum Moderators: coopster
$gresult = mysql_query("SELECT * FROM games order by title asc", $link) or die ("query 1: " . mysql_error());
while ($grow = mysql_fetch_array($gresult))
{
echo '<option value="/games/xbox_games/'.$grow['title'].'.html">'.$grow['title'].'</option>';
}
echo '</select></form></td></tr>'
. '<tr><td class="gamelist_line"></td></tr>'
. '<tr><td id="gamelist_mid"></td></tr>'
. '</table>'
. '<div class="gamelist_foot"></div>';
With all echoes
or this
$gresult = mysql_query("SELECT * FROM games order by title asc", $link) or die ("query 1: " . mysql_error());
while ($grow = mysql_fetch_array($gresult))
{
echo '<option value="/games/xbox_games/'.$grow['title'].'.html">'.$grow['title'].'</option>';
}
?>
</select></form></td></tr>
<tr><td class="gamelist_line"></td></tr>
<tr><td id="gamelist_mid"></td></tr>
</table>
<div class="gamelist_foot"></div>
?
if you are wondering about speed then try this thread
Benchmarking PHP text output [webmasterworld.com]