note 4529 deleted from sort by jmoore
| From: | jmoore@php.net | Date: | Sun, 03 Sep 2000 11:14:31 +0000 |
| Subject: | note 4529 deleted from sort by jmoore | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-4073@lists.php.net to get a copy of this message | ||
i have a 2-D array which is the equivalent of 3 arrays side by side inside it. what i want to do is
sort 1 of the arrays, and keep the data in the other 2 all lined up with the first because they go
with it. can anyone tell me how to go about that?
$data[0][x] is a list of song titles
$data[1][x] is a list of the corresponding artists
$data[2][x] is a list of the corresponding lyrics
i'd like to alphabetize by artist. thanks.
-Justin Walters
<a href=http://www.saintjoe.edu/~jwf3167>www.saintjoe.edu/~jwf3167</a>