RE: [PHP] How do I find double values in an associative array

From: Date: Tue, 05 Feb 2002 13:47:12 +0000
Subject: RE: [PHP] How do I find double values in an associative array
Groups: php.general 
Request: Send a blank email to php-general+get-83587@lists.php.net to get a copy of this message
http://www.php.net/manual/en/function.array-count-values.php Jerry I feel like a manual... > -----Original Message----- > From: Rainer [mailto:rainer.schreiber@chello.nl] > Sent: Tuesday, February 05, 2002 2:51 PM > To: php-general@lists.php.net > Subject: [PHP] How do I find double values in an associative array > > > Hello group, > > Can anybody tell me how I easily compare values in an > associative array? I > would like to find double values.... > > I have for instance an array like: > > $foo['key1'] = 'abc'; > $foo['key2'] = 'def'; > $foo['key3'] = 'abc'; > $foo['key4'] = 'ghi'; > > and I want to get the value 'abc' ... > > Please send me an email (rainer.schreiber@chello.nl) because > my newsgroups > doesn't always work properly! > > Thanx, > Rainer. > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > The information contained in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any form of disclosure, production, distribution or any action taken or refrained from in reliance on it, is prohibited and may be unlawful. Please notify the sender immediately. The content of the email is not legally binding unless confirmed by letter bearing two authorized signatures.

« previous php.general (#83587) next »