質問編集履歴

2

スペルミス

2021/02/06 17:53

投稿

xu0124
xu0124

スコア31

test CHANGED
File without changes
test CHANGED
@@ -94,7 +94,7 @@
94
94
 
95
95
 
96
96
 
97
- if (isset($_POST["search_age"]) && is_array($_POST['search_age'])) {
97
+ if (isset($_POST["search_category"]) && is_array($_POST['search_category'])) {
98
98
 
99
99
  $checked = " checked";
100
100
 

1

途中経過

2021/02/06 17:53

投稿

xu0124
xu0124

スコア31

test CHANGED
File without changes
test CHANGED
@@ -92,7 +92,13 @@
92
92
 
93
93
  $checked = "";
94
94
 
95
+
96
+
97
+ if (isset($_POST["search_age"]) && is_array($_POST['search_age'])) {
98
+
95
- if ("埼玉") $checked = " checked";
99
+ $checked = " checked";
100
+
101
+ }
96
102
 
97
103
  ```
98
104