回答編集履歴
1
ものすごい勘違いしてたので修正しました
answer
CHANGED
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
$attribute
|
|
5
5
|
```
|
|
6
6
|
|
|
7
|
-
は
|
|
7
|
+
は$_POST['attribute']を代入したものと仮定して、
|
|
8
|
+
|
|
8
9
|
```HTML
|
|
9
10
|
<input type="checkbox" name="attribute[]" value="1" id="1" {$check_attribute[1]}><label for="1">1</label><br><br>
|
|
10
11
|
```
|