Array (
[1] => Array (
[poidsTot] => 1
[idBout] => 1
)
[2] => Array (
[poidsTot] => 2
[idBout] => 1
)
[3] => Array (
[poidsTot] => 2
[idBout] => 2
)
[4] => Array (
[poidsTot] => 8
[idBout] => 2
)
)
This is a table containing several arrays with two values each. The value1 is a weight and the value2 is an identifier. I want to sum all the weights with the same identifier. help. thank you in advance!