Click to See Complete Forum and Search --> : Removing duplicate entries in an array


gizmo
10-05-2007, 12:55 PM
I have an array containing a list of image filenames and I wish to remove any duplicate entries. I am sure I have seen an array function that will do this, but searching here and also the PHP Manual, but have found nothing.

NogDog
10-05-2007, 02:01 PM
array_unique (http://www.php.net/array_unique)()

gizmo
10-05-2007, 02:43 PM
Thanks for the help, NogDog, I knew I had seen it somewhere.