Displaying a member list
Posted: Mon Oct 13, 2003 4:01 pm
How would I display every username in a SQL table in a html table?
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
Code: Select all
$result = mysql_query("select username from username_table");
echo '<table>';
while ($row = mysql_fetch_array($result)) {
echo '<tr><td>'.$row[0].'</td></tr>';
}
echo '</table>';