My previous code didn't work because there's a typo in it :). I'm used to C++ at the moment and missed a $ symbol.
PHP Code:
}
}else{
//gets all the members from the database
$getusers = mysql_query("SELECT * FROM `authme` ORDER BY `id` ASC") or die(mysql_error());
//loops there name out
$i = 1;
while ($user = mysql_fetch_array($getusers)) {
if ($i % 3 != 0) {
echo "<a href=\"members.php?user={$user['username']}\">{$user['username']}</a> ";
} else {
echo "<a href=\"members.php?user={$user['username']}\">{$user['username']}</a><br />";
}
$i++;
}
}
echo "<center>";
?>