Re: Sort Question
| From: | Richard Lynch | Date: | Sat, 22 Sep 2001 04:32:47 +0000 |
| Subject: | Re: Sort Question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-68281@lists.php.net to get a copy of this message | ||
Where is your sort call?...
sort($variable1);
should do the trick...
--
WARNING richard@zend.com address is an endangered species -- Use
ceo@l-i-e.com
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
----- Original Message -----
From: Jeff Oien <jeff@webdesigns1.com>
Newsgroups: php.general
To: PHP <php-general@lists.php.net>
Sent: Friday, September 21, 2001 4:06 PM
Subject: Sort Question
> Could someone tell me how to sort this? Each $variable1 is a 3,4 or 5
> letter string that I would like sorted alphabetically. I assumed "sort"
would
> do it but apparently it isn't the right type of array. Thanks.
>
> $variable1 = split("\n", $variable);
>
> Jeff Oien
>
>