質問編集履歴
1
内容追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
phpでpostのデータ受け取り、受けっとった日にちを表示したいするプログラムを作成したいのですが、エラーになります。
|
2
2
|
|
3
|
-
|
3
|
+
Notice: Undefined variable: _post in C:\xampp\htdocs\hu_end.php on line 19
|
4
4
|
|
5
5
|
|
6
6
|
|
@@ -61,3 +61,47 @@
|
|
61
61
|
</html>
|
62
62
|
|
63
63
|
```
|
64
|
+
|
65
|
+
|
66
|
+
|
67
|
+
|
68
|
+
|
69
|
+
入力画面のプログラムは、これです。
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
```
|
74
|
+
|
75
|
+
<html>
|
76
|
+
|
77
|
+
<head>
|
78
|
+
|
79
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
80
|
+
|
81
|
+
<title>予約</title>
|
82
|
+
|
83
|
+
</head>
|
84
|
+
|
85
|
+
<body>
|
86
|
+
|
87
|
+
<form action="hu_end.php" method="post">
|
88
|
+
|
89
|
+
<br>
|
90
|
+
|
91
|
+
<h3>予約</h3>
|
92
|
+
|
93
|
+
日付 :<input type="date" name="yoyakubi" size="30" value="<?php echo date('Y-m-d');?>" min="<?php echo date('Y-m-d');?>" required>
|
94
|
+
|
95
|
+
<br><br><br>
|
96
|
+
|
97
|
+
<input type="submit" value="検索する">
|
98
|
+
|
99
|
+
</form>
|
100
|
+
|
101
|
+
</body>
|
102
|
+
|
103
|
+
</html>
|
104
|
+
|
105
|
+
コード
|
106
|
+
|
107
|
+
```
|