@Glee If you're trying to get only staff members then the code would be something like this.
PHP Code:
<?php$getTopStats = mysql_query("SELECT look,username from users WHERE rank > 5 ORDER BY id DESC LIMIT 1");while($topSpats = mysql_fetch_array($getTopStats)){echo '<tr><td width="50px"> </td> <td width="20px">'; echo '<img src="http://www.habbo.fr/habbo-imaging/avatarimage?figure=' . $topSpats['look'] . '&size=lrg&direction=3&head_direction=3&gesture=sml&size=m" align="center"></td> <td width=195px" align="center"><a href="#"><b>'.$topSpats['username'].'</b></a>';echo '</td> ';
}?>
While if you're trying to get hold of latest users registered script would be like
PHP Code:
<?php$getTopStats = mysql_query("SELECT look,username from users ORDER BY id DESC LIMIT 1");while($topSpats = mysql_fetch_array($getTopStats)){echo '<tr><td width="50px"> </td> <td width="20px">'; echo '<img src="http://www.habbo.fr/habbo-imaging/avatarimage?figure=' . $topSpats['look'] . '&size=lrg&direction=3&head_direction=3&gesture=sml&size=m" align="center"></td> <td width=195px" align="center"><a href="#"><b>'.$topSpats['username'].'</b></a>';echo '</td> ';
}