Re: Checking for duplicate and make uniqe values in array

From: Date: Fri, 08 Dec 2000 10:25:36 +0000
Subject: Re: Checking for duplicate and make uniqe values in array
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-29314@lists.php.net to get a copy of this message
vnovakov@ai.sanu.ac.yu wrote: > > If I have an array with some number values: > > Can I check for duplicate values, then I need to exclude duplicate and parse the array to uniqe > values? > > Does anyone have any suggestion, advice or example? > There is a function (starting from php-4.0.1): array_unique() See: http://www.php.net/manual/function.array-unique.php Hope this helps. :) -- Pavel a.k.a. Papi

« previous php.general (#29314) next »