sorry about the last post I forgot to end the pritn $row;
I think you are looking for this:
$sql = mysql_query("SELECT username FROM usertable");
print "<table>";
while($row=mysql_fetch_array($sql))
{
print "<tr><td>";
print $row["username"];
print "</td></tr>";
}
print "</table>";