Ver Mensaje Individual
  #11 (permalink)  
Antiguo 25/10/2011, 18:34
nemexis
 
Fecha de Ingreso: octubre-2011
Ubicación: Peru
Mensajes: 75
Antigüedad: 12 años, 6 meses
Puntos: 2
Respuesta: Crear un top 10

El codigo final seria asi:

Cita:
<?
include('/home/michael/public_html/admin/config.php') ;

$pegar = "SELECT COUNT(*) nombreremix FROM mremix GROUP BY dj ORDER BY nombreremix DESC LIMIT 10;";
$cad = mysql_db_query($db,$pegar) or die ("Consulta inv&aacute;lida : $sql");
while ($row = mysql_fetch_array($cad)) {
?>

# <?=$row['dj']?><br />

<?
}
?>
Con ese codigo te mostrara el nombre del usuario