Have you tried
PHP Code:
echo "<table> <tr><td>Firstname</td><td>Lastname</td></tr>";
while($row = mysql_fetch_array($result))
{
echo "<tr><td>" . $row['FirstName'] . "</td><td> " . $row['LastName'] . "</td></tr>";
}
echo "</table>";
??
And please dont post two threads about the same thing, edit your previus post to reflect the code, or add a reply to the thread containing your code.