I am strugglin' with following array to retreive the unique values. This array comes from a nested product assembly structure. Tried several techniques but no result yet. Maybe someone can help me with this? Thanks in advance!
Array
(
[0] => Array
(
[product_ID] => 1
[amount] => 2.00
)
[1] => Array
(
[product_ID] => 1
[amount] => 2.00
)
[2] => Array
(
[product_ID] => 1
[amount] => 2.00
)
[3] => Array
(
[product_ID] => 5
[amount] => 6.00
)
)
Goal is to retreive an array like:
Array
(
[0] => Array
(
[product_ID] => 1
[amount] => 2.00
)
[1] => Array
(
[product_ID] => 5
[amount] => 6.00
)
)