質問編集履歴
2
解決後の修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -34,4 +34,8 @@
|
|
34
34
|
"min_range" => 0
|
35
35
|
]
|
36
36
|
]);
|
37
|
-
```
|
37
|
+
```
|
38
|
+
|
39
|
+
解決後の修正です。
|
40
|
+
以下、誤りでした。
|
41
|
+
<form>→<form method='post'>
|
1
コードの修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -27,7 +27,6 @@
|
|
27
27
|
<input type="submit" name="insert" value="追加">
|
28
28
|
</form>
|
29
29
|
|
30
|
-
if(isset($_POST['insert'])){
|
31
30
|
$count = filter_input(INPUT_POST, 'count', FILTER_VALIDATE_INT, [
|
32
31
|
"options" => [
|
33
32
|
"default" => 999,
|
@@ -35,5 +34,4 @@
|
|
35
34
|
"min_range" => 0
|
36
35
|
]
|
37
36
|
]);
|
38
|
-
}
|
39
37
|
```
|