RE: [PHP] Sorting multi-dimensional arrays, and the crashes are s till happening.
| From: | Nold, Mark | Date: | Wed, 12 Jul 2000 00:44:49 +0000 |
| Subject: | RE: [PHP] Sorting multi-dimensional arrays, and the crashes are s till happening. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-6041@lists.php.net to get a copy of this message | ||
----------------------------------------------------------------------------
-----------------
Disclaimer: The information contained in this email is intended only for the
use of the person(s) to whom it is addressed and may be confidential or
contain legally privileged information. If you are not the intended
recipient you are hereby notified that any perusal, use, distribution,
copying or disclosure is strictly prohibited. If you have received this
email in error please immediately advise us by return email at
postmaster@normandy.com.au and delete the email document without making a
copy.
----------------------------------------------------------------------------
-----------------
I wrote a function and posted it to the php3 mailing list some time ago.
Try searching through the archives (geocrawler.com i think may be one) as i
wrote a bunch of instructions too (which i now don't have).
Search for Nold, multi and sort...
-----Original Message-----
From: Daniel Vesma [mailto:daniel@vesma.co.uk]
Sent: Wednesday, July 12, 2000 12:34 AM
To: php-general@lists.php.net
Subject: [PHP] Sorting multi-dimensional arrays, and the crashes are
still happening.
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)?
Daniel Vesma - IT and Webdesign Manager
The Web Tree: http://www.thewebtree.com