質問編集履歴

1

var_dumpの結果を加筆

2020/04/16 10:14

投稿

haji_naru
haji_naru

スコア5

test CHANGED
File without changes
test CHANGED
@@ -100,4 +100,16 @@
100
100
 
101
101
 
102
102
 
103
- ここにより詳細な情報を記載してください
103
+ var_dump[$_POST]の結果です
104
+
105
+
106
+
107
+ array(3) { ["Cleaning"]=> string(1) "0" ["Wash_The_Dish"]=> string(1) "0" ["Playing_Game"]=> string(1) "0" } Cleaning x 0 個 array(3) { ["Cleaning"]=> string(1) "0" ["Wash_The_Dish"]=> string(1) "0" ["Playing_Game"]=> string(1) "0" }
108
+
109
+ Notice: Undefined index: Wash The Dish in C:\xampp\htdocs\php_pr2\confirm.php on line 17
110
+
111
+ Wash The Dish x 個 array(3) { ["Cleaning"]=> string(1) "0" ["Wash_The_Dish"]=> string(1) "0" ["Playing_Game"]=> string(1) "0" }
112
+
113
+ Notice: Undefined index: Playing Game in C:\xampp\htdocs\php_pr2\confirm.php on line 17
114
+
115
+ Playing Game x 個