On Friday 17 May 2002 18:42, Josh Edwards wrote: > 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.
RTFM -> array_search() -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* interrupt configuration error */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php