質問編集履歴
1
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
$date["date"]["2021/09"]="a";
|
9
9
|
$date["date"]["2022/10"]="a";
|
10
10
|
$sortKey = array();
|
11
|
-
foreach ($date as $index => $val) {
|
11
|
+
foreach ($date["date"] as $index => $val) {
|
12
12
|
$sortKey[$index] = $date["date"][$index];
|
13
13
|
}
|
14
14
|
array_multisort($sortKey, SORT_DESC, $date["date"]);
|