while (list($key,$dim2) = each ($A)) { uksort ( $A[ $key ] , "strcasecmp"); } print_r ($A);
$dim2 will not change $A[ $key ], so you will have to change your script to alter them directly. -- red [....] > I have this little code. > I want all arrays sorted case insensitive key order, but only the first > dimension gets key sorted properly > > Thanks > -- > Richard A. DeVenezia [...] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php