Ver Mensaje Individual
  #95 (permalink)  
Antiguo 17/06/2010, 14:48
warbandit69
 
Fecha de Ingreso: diciembre-2008
Ubicación: http://www.solucionesrios.tk/
Mensajes: 413
Antigüedad: 15 años, 4 meses
Puntos: 19
Respuesta: Sistema de Inventario PHP (Completo)

Prueba de esta manera

Código PHP:

$query 
"SELECT SUM(precio) AS total FROM activo";
$result mysql_query($query) or die(mysql_error());
$valores mysql_fetch_array($result);
echo 
"<strong> $ ".number_format($valores["total"],2,".",",")." M.N. </strong>"
Recuerden por favor ayudarme haciendo clic en los google ads o haciendo donaciones :D
__________________
http://www.solucionesrios.tk/

Visita mi Web!