Re: [PHP] Sorting multidimensional arrays

2006-11-16 Thread Dave Goodchild
Result. Cheers! On 11/16/06, Robert Cummings <[EMAIL PROTECTED]> wrote: On Thu, 2006-11-16 at 15:28 +, Dave Goodchild wrote: > Hi all. I have a multidimensional array here: > > Bums" ["name"]=> string(13) "Tits And Bums" [3]=> string(19) "The Pleasure > > [--SNIP--] > > ...which comprises a

Re: [PHP] Sorting multidimensional arrays

2006-11-16 Thread Robert Cummings
On Thu, 2006-11-16 at 15:28 +, Dave Goodchild wrote: > Hi all. I have a multidimensional array here: > > Bums" ["name"]=> string(13) "Tits And Bums" [3]=> string(19) "The Pleasure > > [--SNIP--] > > ...which comprises a set of returned results for an events search - with the > date computed dy

Re: [PHP] Sorting multidimensional arrays

2003-02-13 Thread Chris Wesley
On Thu, 13 Feb 2003, Sean Brown wrote: > Let's say I've got an array like so: > > $myarray[0]["firstname"] = "Mickey"; > $myarray[0]["lastname"] = "Mouse"; > $myarray[0]["score"] = 20; > > $myarray[1]["firstname"] = "Donald"; > $myarray[1]["lastname"] = "Duck"; > $myarray[1]["score"] = 10; > > I'd

RE: [PHP] Sorting multidimensional arrays..

2003-02-03 Thread Ford, Mike [LSS]
> -Original Message- > From: Chad Day [mailto:[EMAIL PROTECTED]] > Sent: 30 January 2003 19:29 > > I'm struggling with array_multisort, was hoping someone could > give me some > help. > > I have a multidim array, such as: > > $myarray[0][FIRSTNAME] = JOE > $myarray[1][FIRSTNAME] = TIM >

Re: [PHP] Sorting multidimensional arrays..

2003-01-30 Thread Tim Ward
if 'EXTENSION' is unique then you can make life a lot easier by making that the key of the root array (this is a heirarchy of arrays). Tim Ward http://www.chessish.com mailto:[EMAIL PROTECTED] - Original Message - From: Chad Day <[EMAIL PROTECTED]> To: php general <[EMAIL PROTECTED]> Sent:

RE: [PHP] Sorting Multidimensional Arrays

2001-05-07 Thread Jack Dempsey
check http://www.php.net/manual/en/function.asort.php there's a routine someone wrote in the contributed section... -jack -Original Message- From: Rick Dietz [mailto:[EMAIL PROTECTED]] Sent: Monday, May 07, 2001 1:21 PM To: [EMAIL PROTECTED] Subject: [PHP] Sorting Multidimensional Arrays