I tried many ways to eliminate duplicate of a value within an array but I could not delete the value and duplicates.
Array
(
[0] => Array
(
[rut] => 333333333
[inscripcion_id] => 3940
)
[1] => Array
(
[rut] => 444444444
[inscripcion_id] => 3941
)
[2] => Array
(
[rut] => 333333333
[inscripcion_id] => 3985
)
)
What I would like to get is that only remain in this case:
Array
(
[rut] => 444444444
[inscripcion_id] => 3941
)
And others save duplicate values in an array.