Posted by comatose on 02/24/07 02:19
On Sat, 24 Feb 2007 01:24:37 +0000, Geoff Berrow <blthecat@ckdog.co.uk> wrote:
>Message-ID: <m3uut2t6kggs59nhm6j6v0anl6bi5j77ni@4ax.com> from comatose
>contained the following:
>
>>Newbie here:
>>can anyone help me, i've been beating my brain on this one.
>>how can i sort from highest to lowest for $player_wins[$i] ??
>
>rsort($player_wins);
I tried rsort, although it works but just for "$player_wins" but i need to keep the association
with $player_loss and $player_name since they're directly related to each other.
from my old basic language i remembered and use a double loop to get the job done, but i know there
is a much easier way. and thats why i'm asking.
[Back to original message]
|