質問編集履歴

1

コードの追加

2018/08/05 09:00

投稿

mogiruri
mogiruri

スコア37

test CHANGED
File without changes
test CHANGED
@@ -27,3 +27,55 @@
27
27
 
28
28
 
29
29
  よろしくお願いいたします。
30
+
31
+
32
+
33
+ ```html
34
+
35
+ <form action="modal.php" method="post">
36
+
37
+ <ul class="form">
38
+
39
+ <li class="email"><input type="text" name="email" placeholder="Email"></li>
40
+
41
+ <li class="subject"><input type="text" name="subject" placeholder="Subject"></li>
42
+
43
+ <li class="message"><textarea name="message" placeholder="Message"></textarea></li>
44
+
45
+ <li class="confirm-btn">Confirm</li>
46
+
47
+ </ul>
48
+
49
+ </form>
50
+
51
+ ```
52
+
53
+ ```php
54
+
55
+ <div id="conf-modal">
56
+
57
+ <div class="blackOut">
58
+
59
+ </div>
60
+
61
+ <div class="confirm">
62
+
63
+ <h1>Confirmation</h1>
64
+
65
+ <p>Email : <?php echo $_POST["email"]; ?></p>
66
+
67
+ <p>Subject : <?php echo $_POST["subject"]; ?></p>
68
+
69
+ <p>Message : </p>
70
+
71
+ <p><?php echo $_POST["message"]; ?></p>
72
+
73
+ <p class="btn" >Back</p>
74
+
75
+ <input class="btn" type="submit" value="Send">
76
+
77
+ </div>
78
+
79
+ </div>
80
+
81
+ ```