Hi! Does anyone know of an easy way to strip out duplicate array elements? I am writing an apache admin package for my company and I am trying to create a drop-down list from an htgroup file. I have no problem using file() to create the array, but many of my groups have several hundred users and thus are broken into multiple lines. I would like to create the array, generate the list but only have one of each element show up in it?
Any suggestions?
Thanks for all your help!
Brendan