Ver Mensaje Individual
  #2 (permalink)  
Antiguo 15/05/2010, 16:34
santis007
 
Fecha de Ingreso: mayo-2010
Mensajes: 2
Antigüedad: 13 años, 11 meses
Puntos: 0
Respuesta: Ayuda con mysql_fetch_row()

SOLUCIONADO:
usé esto, mucho mas facil de lo que pensaba....

$sql2 = "SELECT MAX(sid) as max FROM player_depotitems WHERE player_id='$playerid'";
$maxsid=mysql_fetch_array(mysql_query($sql2));
echo "max sid $maxsid[0]"; //muestra en pantalla el maximo de la consulta