質問編集履歴
2
補足
title
CHANGED
File without changes
|
body
CHANGED
@@ -1,6 +1,10 @@
|
|
1
1
|
javascripで取得idをphpでpostでそうしたいのですか誰か教えていただきませんか?
|
2
2
|
|
3
|
+
補足:
|
4
|
+
index.phpの<div id="param" name="param"></div>これのid="param"はjavascriptfで取ってきました。
|
3
5
|
|
6
|
+
name="param"はformのアクションのPOSTでconfirm.phpに渡していますがこれが渡されてないです
|
7
|
+
|
4
8
|
12.htmlの12をindex.phpファイルに取得し、さらに、index.phpファイルから <form action="confirm.php" method="post" >で送って、confirm.phpで表示したいのですがなかなかできません、
|
5
9
|
|
6
10
|
index.phpまでは取得できていますが、confirm.phpの中には取得できていません、
|
1
補足説明
title
CHANGED
File without changes
|
body
CHANGED
@@ -40,6 +40,7 @@
|
|
40
40
|
<form action="confirm.php" method="post" onsubmit="return validate()" enctype="multipart/form-data">
|
41
41
|
<div><span>ID</span></div>
|
42
42
|
<div id="param" name="param"></div>
|
43
|
+
<button type="submit">確認画面へ</button>
|
43
44
|
</form>
|
44
45
|
```
|
45
46
|
|
@@ -56,5 +57,6 @@
|
|
56
57
|
|
57
58
|
<div><span>ID</span></div>
|
58
59
|
<p><?php echo $param; ?></p>
|
60
|
+
<button class="submit-confirm" type="submit" name="submit">送信する</button>
|
59
61
|
</form>
|
60
62
|
```
|