Where is your sort call?...

sort($variable1);

should do the trick...

--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
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 <[EMAIL PROTECTED]>
Newsgroups: php.general
To: PHP <[EMAIL PROTECTED]>
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
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to