Re: Finding duplicates in arrays

From: Date: Thu, 24 Jun 2004 18:54:52 +0000
Subject: Re: Finding duplicates in arrays
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-188992@lists.php.net to get a copy of this message
use array_unique http://us4.php.net/manual/en/function.array-unique.php On Thu, 24 Jun 2004 10:33:04 -0800, Chris Lott <chris.lott@gmail.com> wrote: > > Given two arrays, I want to find the "records" which are duplicates. > What is the simplest approach? And should I use a different approach > to compare three or more arrays to find only duplicates that occur in > all of them? > > c > -- > Chris Lott > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#188992) next »