$getBadges = mysql_query("SELECT * FROM user_badges WHERE user_id = '" .$member['id'] . "' AND badge_slot >= 1 ORDER BY badge_slot DESC LIMIT 5");
while ($b = mysql_fetch_assoc($getBadges))
{
echo '<img src="/r63/c_images/album1584/' . $b['badge_id'] .'.gif" style="float: left;"> ';