I have a php loop code to display todays logins on my website. Is it possible to display a username only once, instead of multiple times. Here is my code:



PHP Code:
// Start listing todays member chatters
  
$result mysql_db_query($dbname"SELECT * FROM logs_logins WHERE date = '$showdate' AND ismember = '1' order by id desc") or die (mysql_error());
echo 
"<br /><b>$alang146</b><br />";
if (
mysql_num_rows($result)) { 
   while (
$qry mysql_fetch_array($result)) {

       echo 
"$qry[username] <a href='admin.php?act=logsuserresults&loguser2=$qry[username]&logtype2=member&logtype3=get'>$alang103</a><br />";
   }  
// End listing active chatters
}  // End listing todays guest chatters