note 5224 deleted from sort by ronabop

From: Date: Wed, 23 Aug 2000 09:53:08 +0000
Subject: note 5224 deleted from sort by ronabop
Groups: php.notes 
Request: Send a blank email to php-notes+get-2975@lists.php.net to get a copy of this message
I'm not sure if what I need to do is possible or not.. I have a two-dimensional array. I need to apply the rsort() function to the nested array ($votes) in order for the array to be sorted by largest number to smallest keeping in mind that both, $names and $votes need to stay in relation in order for the amount of votes to be assigned to the proper name. $totals[$names[$votes]]

« previous php.notes (#2975) next »