質問するログイン新規登録

回答編集履歴

2

chousei

2021/08/24 07:28

投稿

yambejp
yambejp

スコア118164

answer CHANGED
@@ -8,7 +8,7 @@
8
8
  });
9
9
  });
10
10
  </script>
11
- <form action="sample.php" method="POST" target="newWin">
11
+ <form action="sample.php" method="POST" target="newWin" id="f1">
12
12
  <input name="a" value="123">
13
13
  <input type="submit" value="send">
14
14
  </form>

1

chousei

2021/08/24 07:28

投稿

yambejp
yambejp

スコア118164

answer CHANGED
@@ -8,8 +8,13 @@
8
8
  });
9
9
  });
10
10
  </script>
11
- <form action="ウインドウ2.php" method="POST" target="newWin">
11
+ <form action="sample.php" method="POST" target="newWin">
12
12
  <input name="a" value="123">
13
13
  <input type="submit" value="send">
14
14
  </form>
15
+ ```
16
+ //sample.php
17
+ ```PHP
18
+ <?PHP
19
+ print_r($_POST);
15
20
  ```