in reply to Remove redundency from an array

Take a look at How to find and remove duplicate elements from an array? from the Categorized Questions and Answers section of this site. Super Search is your friend.

Hope this helps

Martin