[0] => Array ( [id] => 9 [order_address_id] => 9 [created] => 2015-12-17 12:24:20 [order_status] => dispatched [total_discount] => [total_shipping_charge] => 60 [s_state] => NY [b_state] => NY [order_id] => 9 [p_name] => Product 1 [qty] => 1 [price] => 475 ) [1] => Array ( [id] => 9 [order_address_id] => 9 [created] => 2015-12-17 12:24:20 [order_status] => dispatched [total_discount] => [total_shipping_charge] => 60 [s_state] => MA [b_state] => MA [order_id] => 9 [p_name] => Product 2 [qty] => 1 [price] => 349 )
I want to find if array with same ID repeats then I have to delete total_shipping_charge from second and subsequent array having same id. How can I do it in PHP?