Ver Mensaje Individual
  #7 (permalink)  
Antiguo 25/02/2016, 09:30
xerifandtomas
 
Fecha de Ingreso: octubre-2010
Ubicación: España
Mensajes: 1.007
Antigüedad: 13 años, 6 meses
Puntos: 123
Respuesta: Sintaxis array_sum

Si solo pretendes sumar creo que utilizar un array es innecesario.

Prueba con algo más simple

Código PHP:
Ver original
  1. $total = $total+$Dpresulinea["total"];  // esto dentro de tu bucle
  2.  
  3. echo $total;