Re: Sorting multi-dimensional arrays, and the crashes are still happening.

From: Date: Tue, 11 Jul 2000 16:37:31 +0000
Subject: Re: Sorting multi-dimensional arrays, and the crashes are still happening.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-5945@lists.php.net to get a copy of this message
On Tue, 11 Jul 2000, Daniel Vesma wrote: > Guys, > > Thanks for all your help over recent days... > > I'm still getting crashes when I try to write to any table on one database. > I get an error message, then an "Illegal Operation" box. It reads the data > fine! I've tried re-installing. > > Also, how do you sort multi-dimensional arrays? > > I have an array ($myArray[][]) that contains data like: > > 23 Steve steve@sdkjs.com > 12 Jon jon@smskdjc.com > 29 Anna anna.ks@jlasdlkajsd.co.uk > 73 Jon jon@jskajkasljisdouebnmass.com > > How do I sort by the number (biggest first)? Well, if you can wait just a big, I've just committed a function called array_multisort() that will do exactly what you want and much more. :) Stay tuned for documentation as well. -Andrei "Science is like sex: sometimes something useful comes out, but that is not the reason we are doing it" -- Richard Feynman

« previous php.general (#5945) next »