My question is if anyone have any idé on how to sort this array so that the names and ages are sorted after Close Friend, Friend, Wife and last Family...
$A[] = array ("Nils", "23", "Friend"); $A[] = array ("Emma", "21", "Friend"); $A[] = array ("Cassie", "21", "Wife"); $A[] = array ("Zydox", "23", "Friend"); $A[] = array ("Patrick", "24", "Close Friend"); $A[] = array ("Kalle", "40", "Family"); $A[] = array ("John", "10", "Close Friend"); $A[] = array ("Anna", "12", "Friend"); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php