Ver Mensaje Individual
  #4 (permalink)  
Antiguo 07/04/2004, 13:16
Avatar de claudiovega
claudiovega
 
Fecha de Ingreso: octubre-2003
Ubicación: Puerto Montt
Mensajes: 3.667
Antigüedad: 20 años, 6 meses
Puntos: 11
haz esto en lugar de lo que haces:

$ipp=1;
$result = mysql_query("SELECT sum(precio) as total FROM temp where id=$ipp");
$row =mysql_fetch_array($result,MYSQL_NUM))
echo $row['total'];
__________________
Dedicado a proyectos web, actualmente desarrollando un sistema de diseño de flyers online muy fácil de usar.