Ver Mensaje Individual
  #4 (permalink)  
Antiguo 22/11/2011, 04:45
TheCastor
 
Fecha de Ingreso: junio-2011
Mensajes: 68
Antigüedad: 12 años, 11 meses
Puntos: 4
Respuesta: error de sintaxis

Que yo sepa mysql_fetch_array devuelve un array....

Si hacer $mayor = mysql_fetch_array($res) estás igualando la variable mayor a un array.
Ahora para mostrar el numero mayor tienes que hacer $mayor['max'] aunque no se si te funcionara, yo le pondria un alias al max de esa select.