note 49654 deleted from function.array-reverse by salathe

From: Date: Fri, 08 Jun 2012 20:08:30 +0000
Subject: note 49654 deleted from function.array-reverse by salathe
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-188505@lists.php.net to get a copy of this message
Note Submitter: me2resh at gmail dot com ---- Here is my version of sorting multidimensional arrays with any key in it even if u want it alphapatically sorted by any key. u can remove the strtolower part if you want to keep it case sensitive function cmp($a, $b){ return strcmp(strtolower($a["name"]), strtolower($b["name"])); }

« previous php.notes (#188505) next »