回答編集履歴
1
answer
CHANGED
@@ -3,20 +3,4 @@
|
|
3
3
|
<input type="hidden" name="Player" value="チョキ">
|
4
4
|
<input type="hidden" name="Player" value="パー">
|
5
5
|
```
|
6
|
-
何を選んでも、全部の値が送信されているので最後の値のみ有効になっています。
|
6
|
+
何を選んでも、全部の値が送信されているので最後の値のみ有効になっています。
|
7
|
-
|
8
|
-
```php
|
9
|
-
<form method="POST" action="judge.php">
|
10
|
-
<div class=select>
|
11
|
-
<p class=gu>
|
12
|
-
<input type="image" src="./source/janken_gu.png" alt="グー" name="Player" value="グー">
|
13
|
-
</p>
|
14
|
-
<p class=choki>
|
15
|
-
<input type="image" src="./source/janken_choki.png" alt="チョキ" name="Player" value="チョキ">
|
16
|
-
</p>
|
17
|
-
<p class=pa>
|
18
|
-
<input type="image" src="./source/janken_pa.png" alt="パー" name="Player" value="パー">
|
19
|
-
</p>
|
20
|
-
</div>
|
21
|
-
</form>
|
22
|
-
```
|