F
falcon_developer
Guest
I have a MySQL DB that has a DB w/ one table, that having two rows. I use this PHP to retrieve it and put it into a table (It's for hi-scores):
$fetch = mysql_query("SELECT * FROM scores ORDER BY score DESC LIMIT 10");
while($row = mysql_fetch_array($fetch))
{
echo "<table border='1' width=300><tr><td>  $row[name]  </td><td>  $row[score]  </td></tr></table>";
}
Originally, the middle space between two horizontal cells were the same, but the outside edges were shrunk to the text. Ia used the "width" command in my table tag, but now the center line is screwed up. (The page is here:
http://www.pennyontherail.com/score10.php )
How do I fix that?
$fetch = mysql_query("SELECT * FROM scores ORDER BY score DESC LIMIT 10");
while($row = mysql_fetch_array($fetch))
{
echo "<table border='1' width=300><tr><td>  $row[name]  </td><td>  $row[score]  </td></tr></table>";
}
Originally, the middle space between two horizontal cells were the same, but the outside edges were shrunk to the text. Ia used the "width" command in my table tag, but now the center line is screwed up. (The page is here:
http://www.pennyontherail.com/score10.php )
How do I fix that?