
January 19th, 2013, 09:49 AM
|
|
|
|
SORT_FLAG_CASE flag not working
I am trying to do a case insensitive sort on a 2 dimensional array.
PHP Code:
foreach ($rows as $key=>$row) {
$names[$key]=$row['Name'];
}
array_multisort($rows,SORT_STRING|SORT_FLAG_CASE,$names);
This yields the same result (lower case after all upper case) with or without the case flag. Perhaps new eyes can see what I am missing. TIA.
__________________
There are 10 kinds of people in the world. Those that understand binary and those that don't.
|