Re: Now a Question for all you ARRAY Junkies
| From: | vins | Date: | Wed, 10 Jul 2002 12:47:40 +0000 |
| Subject: | Re: Now a Question for all you ARRAY Junkies | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-106783@lists.php.net to get a copy of this message | ||
i ONLY ask when i can't get summing to work...
i saw when someone reported the sort() function that i had sord()
My bad...
But thanx anyways
"Danny Shepherd" <danny@kyboshed.com> wrote in message
news:081601c2280f$1c552dc0$0200a8c0@DANNYS...
> just sort($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" <vins@webonline.co.za>
> To: <php-general@lists.php.net>
> Sent: Wednesday, July 10, 2002 1:36 PM
> Subject: [PHP] Now a Question 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
> >
>