I have a array of kind
Array
(
[1] => Array
(
[id] => 1
[username] => test1
[case1] => abc
[case2] => zxc
)
[0] => Array
(
[id] => 1
[username] => test1
[case1] => fdg
[case2] => tyy
)
)
As you can see only id and username is same rest are different. Now i want to make it unique. That if only id is same in inner arrays then also only one value should come either of both.
Can any one tell me how to do this?
Any help will be highly appreciated.