php array unique

Associate
Joined
19 Jul 2006
Posts
1,847
Looking for a bit of help,
I have created a function that will return an associative array though I could change this if it would be better.
output is something like
PHP:
Array ( [0] => 123ABCStreet [1] => 123ABCStreet [2] => 321CBAStreet )

I then need to do something like this

for values that are unique {
return $unique key
}
for duplicates {
return $duplicates key
}

any pointers in the right direction.
 
Back
Top Bottom