
10/11/2004, 19:28
|
 | | | Fecha de Ingreso: octubre-2003 Ubicación: Puerto Montt
Mensajes: 3.667
Antigüedad: 21 años, 4 meses Puntos: 11 | |
Dejalo asi:
$sql = mysql_query("SELECT id_img, AVG(voto) as porcentaje FROM calificar GROUP BY id_img ORDER BY porcentaje LIMIT 25") or die (mysql_error()); |