[PHP] Now a Question for all you ARRAY Junkies

2002-07-10 Thread vins
I have an array $Lang = array('English','German','French','Zulu'); I want it in alphabetical order do i reset the arrray first or usort it first -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Now a Question for all you ARRAY Junkies

2002-07-10 Thread Martin Clifford
Since it's not an associative array, you can just use sort($Lang); and that should work just fine. Martin vins [EMAIL PROTECTED] 07/10/02 08:36AM I have an array $Lang = array('English','German','French','Zulu'); I want it in alphabetical order do i reset the arrray first or usort it

Re: [PHP] Now a Question for all you ARRAY Junkies

2002-07-10 Thread vins
oh ok... thanx Martin Clifford [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Since it's not an associative array, you can just use sort($Lang); and that should work just fine. Martin vins [EMAIL PROTECTED] 07/10/02 08:36AM I have an array $Lang =

Re: [PHP] Now a Question for all you ARRAY Junkies

2002-07-10 Thread Danny Shepherd
for all you ARRAY Junkies I have an array $Lang = array('English','German','French','Zulu'); I want it in alphabetical order do i reset the arrray first or usort it first -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP

Re: [PHP] Now a Question for all you ARRAY Junkies

2002-07-10 Thread Neil Freeman
Have a look at sort() vins wrote: ** This Message Was Virus Checked With : SAVI 3.59 May 2002 Last Updated 8th July 2002 ** I have an array

Re: [PHP] Now a Question for all you ARRAY Junkies

2002-07-10 Thread vins
rt($Lang); A question: wouldn't it have been quicker to knock out a couple of test files to see which is the right way? HTH Danny. - Original Message - From: vins [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, July 10, 2002 1:36 PM Subject: [PHP] Now a Question for all y