Thanks Devin,
but I do have one question, I finally eliminate those duplicate data but when I tried to view them it display this:
(blank)--indicate blank space!
array("red","blue","red","blue","black")
$my_array = array_unique($array);
$counter = count($my_array);
I used for loop to display my output...
output:
red
blue
(blank)
(blank)
black
How can I eliminate those blank?
Again thanks for any help...and more power to PHPBuilder!
--brendon