[PHP] Re: Sort Question

2001-09-21 Thread Richard Lynch
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 - O

[PHP] Re: Sort Question (Again)

2001-09-21 Thread Gaylen Fraley
When you do $list = sort($list) you are assigning a boolean true/false to the success/failure of the sort to $list (on the left hand side of the equals sign). What I think you really want is: $list = file('list_main.txt'); sort($list); Regards, -- Gaylen [EMAIL PROTECTED] http://www.gaylenandm