Reply to Re: Sorting

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация