note 12111 deleted from function.sort by derick

From: Date: Wed, 31 Aug 2005 10:35:51 +0000
Subject: note 12111 deleted from function.sort by derick
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-94488@lists.php.net to get a copy of this message
Note Submitter: Richard dot C dot Mitchell at Boeing dot com ---- The function submitted by CK1 -- qsort_multiarray() -- will also work with associative arrays. ---------------------------------------------- $array = Array( Array ( "dog"=>"value3", "cat"=>"4", "mouse"=>"element2" ), Array ( "dog"=>"value4", "cat"=>"3", "mouse"=>"element1" ), Array ( "dog"=>"value2", "cat"=>"1", "mouse"=>"element3" ), Array ( "dog"=>"value1", "cat"=>"2", "mouse"=>"element4" ) ); $array = qsort_multiarray($array,"cat");

« previous php.notes (#94488) next »