Code:
$sql2 =mysql_fetch_array(mysql_query("SELECT id, username, chmsgs FROM users ORDER BY chmsgs DESC LIMIT 1")); $unick = getnick_uid($sql2[0]); $main.="Top PM Chatter :<a href=\"profile.php?action=viewuser&who=$sql2[0]&sid=$sid\">$unick</a><br/>"; $sql2 =mysql_fetch_array(mysql_query("SELECT id, username, posts FROM users ORDER BY posts DESC LIMIT 1")); $unick = getnick_uid($sql2[0]); $main.="Top Forum Poster :<a href=\"profile.php?action=viewuser&who=$sql2[0]&sid=$sid\">$unick</a><br/>";
Comment