I have an array with a number of objects, and I want to search for objects to compare and remove duplicates. Structure example:
Array ( [0] => stdClass Object ( [lrid] => 386755343029 [uu] => website.address.com ) [1] => stdClass Object ( [lrid] => 386755342953 [uu] => website.address.com ) )
If the UU key is the website address, and I want to show only the first version, not a duplicate. Any help would be greatly appreciated.
loops php foreach
Bill weberer
source share