Compare values in an array

From: Date: Mon, 04 Feb 2002 21:25:25 +0000
Subject: Compare values in an array
Groups: php.general 
Request: Send a blank email to php-general+get-83563@lists.php.net to get a copy of this message
Can anybody tell me how I easily compare values in an associative array? 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.

« previous php.general (#83563) next »