o: <[EMAIL PROTECTED]>
> 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 alphabet
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
bject: [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
>
>
>
> -
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
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 us
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
6 matches
Mail list logo