PHP Array_Sum on multi dimensional array
I don’t think there’s any built-in function that would let you sum the values of a multidimensional array. However, here’s a way of doing it using a lambda-style function. Let’s suppose this is your array: [items] => Array ( [0] => Array ( [ID] => 11 [barcode] => 234334 [manufacturer] => Dell [model] => D630 … Read more