回答編集履歴
2
微修正
test
CHANGED
@@ -114,7 +114,7 @@
|
|
114
114
|
|
115
115
|
$stmt=$pdo->prepare($sql);
|
116
116
|
|
117
|
-
$array=array($_POST['NewPrice'],$_POST['NewGoodsName'],$
|
117
|
+
$array=array($_POST['NewPrice'],$_POST['NewGoodsName'],$_POST['GoodsID']);
|
118
118
|
|
119
119
|
$res2=$array;
|
120
120
|
|
1
\+ と \. を間違えた
test
CHANGED
@@ -30,7 +30,7 @@
|
|
30
30
|
|
31
31
|
// ++++ 追加 ++++
|
32
32
|
|
33
|
-
$hidden_tag_for_update_form = '<input type="hidden" name="GoodsID" value="'
|
33
|
+
$hidden_tag_for_update_form = '<input type="hidden" name="GoodsID" value="' .$_POST['GoodsID']. '">';
|
34
34
|
|
35
35
|
|
36
36
|
|