3
Well I have the following array:
array (size=3)
0 =>
array (size=5)
'valor' => string '10.00' (length=5)
'forma' => string '1' (length=1)
'parcelas' => string '' (length=0)
'verifica_nome' => string '' (length=0)
'cliente' => string '' (length=0)
1 =>
array (size=5)
'valor' => string '1.51' (length=4)
'forma' => string '1' (length=1)
'parcelas' => string '' (length=0)
'verifica_nome' => string '' (length=0)
'cliente' => string '' (length=0)
2 =>
array (size=5)
'valor' => string '10.00' (length=5)
'forma' => string '1' (length=1)
'parcelas' => string '' (length=0)
'verifica_nome' => string '' (length=0)
'cliente' => string '' (length=0)
I need to recover the total sum of the value field. How can I do this in php?
Wow, I did some crazy foreach the other day, with array_keys and a lot of nonsense. Sign that I need to give a studied in these array functions
– Daniel