Claro este es el codigo...
Código PHP:
<?php
include "config.php";
mysql_connect($server, $db_user, $db_pass) or die (mysql_error());
$result = mysql_db_query($database, "select * from descargados where descargas order by descargas desc limit 0, 6") or die (mysql_error());
if (mysql_num_rows($result)) {
while ($qry = mysql_fetch_array($result)) {
echo "<div class='picuser'>
<a href='profile.php?sbbu=$qry[usuario]' target='_blank'>
<img src='$qry[avatar]' class='avat' width='90' height='90' /> </a>
<a href='profile.php?sbbu=$qry[usuario]'target='_blank'>$qry[usuario]
</a><br><font face='leelawadee' color='yellow' >$qry[descargas] Descargas</font>
</div>
";
}
}
?>