here is basicly what I'm doing. I know I don't need to get all from the database to display just the name but thats irrelevant..
Code: Select all
///get the members info///
$memberinfo = "SELECT * from users ORDER BY id";
$memberinfo2 = mysql_query($memberinfo) or die("Could Not Get Memberinfo!");
$memberinfo3 = mysql_fetch_array($memberinfo2);
$name = $memberinfo3['name'];
////output into a table.. table borders and such are in a css file.../////
print "<center>";
print "<table>";
print "<tr><td>Members</td></tr>";
///while isn't needed in this example, but I put it anyways////
while($memberinfo3=mysql_fetch_array($memberinfo2))
{
print "<tr><td>$name</td></tr>";
}
print "</table>";
print "</center>";