Try making a numberLposition hashas you iterate through the array, add each number as a key and the position in the array as the value. Then use sort($keys(%hash)) to order them. I'm a newbie, also, so I'm not sure if sort has an optional parameter for order, though. You'll have to explore that one on your own.
Joseph Mystik Gotan wrote: > Hiya, > > I'm in search for a solution. Let's say I have this array: > > @array (5, 6, 7, 89, 1, 0, 456, 298023, 56); > > Now, how can I get the biggest integers from this array and give them a > string with their place. Let's say I have a foreach loop where I checked all > the biggest integers (however, I don't know how) and I give them all a > string like: > > $website_76 = 1; # position 1 > $website_87 = 2; # position 2 > > -------------- > Bob Erinkveld (Webmaster Insane Hosts) > www.insane-hosts.net > MSN: [EMAIL PROTECTED] > > _________________________________________________________________ > Ontvang je Hotmail & Messenger berichten op je mobiele telefoon met Hotmail > SMS http://www.msn.nl/jumppage/ > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]