array question

From: Date: Fri, 17 May 2002 10:42:22 +0000
Subject: array question
Groups: php.general 
Request: Send a blank email to php-general+get-98037@lists.php.net to get a copy of this message
I have an array which I use a loop to add numbers to different elements in the array. I can extract the highest no which in this case is 48. ie ([22 ] => 48 [23 ] => 2 [12 ] => 22 [14 ] => 5 ) Using this highest no (48 in this instance), how do I get the position or [element No] that matches the highest no.

« previous php.general (#98037) next »