Re: Array Sort?

From: Date: Fri, 06 Apr 2001 11:25:46 +0000
Subject: Re: Array Sort?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-47925@lists.php.net to get a copy of this message
heh, sounds fun. Oh well Thanks ----- Original Message ----- From: "David Robley" <huntsman@www.nisu.flinders.edu.au> To: "Chris Anderson" <m1garand@ameritech.net>; "Chris Anderson" <chrisderson@ameritech.net>; "PHP" <php-general@lists.php.net> Sent: Monday, April 09, 2001 8:47 PM Subject: Re: [PHP] Array Sort? > On Fri, 6 Apr 2001 18:33, Chris Anderson wrote: > > Currently I am using the sort() command to sort an array. Unfortunately > > it uses the ascii number so all words starting with uppercase are > > before lowercase. Is there a case insensitive alphabetical sort that I > > don't know of? Thanks in advance ^_^ > > You might have to use usort and build a little case-insensitive sort > routine yourself. Remember that ASCII A + 32 = ASCII a and so forth. > -- > David Robley | WEBMASTER & Mail List Admin > RESEARCH CENTRE FOR INJURY STUDIES | > http://www.nisu.flinders.edu.au/ > AusEinet | > http://auseinet.flinders.edu.au/ > Flinders University, ADELAIDE, SOUTH AUSTRALIA >

« previous php.general (#47925) next »