回答編集履歴

2

微修正

2016/10/01 22:27

投稿

fromageblanc
fromageblanc

スコア2724

test CHANGED
@@ -114,7 +114,7 @@
114
114
 
115
115
  $stmt=$pdo->prepare($sql);
116
116
 
117
- $array=array($_POST['NewPrice'],$_POST['NewGoodsName'],$global_var);
117
+ $array=array($_POST['NewPrice'],$_POST['NewGoodsName'],$_POST['GoodsID']);
118
118
 
119
119
  $res2=$array;
120
120
 

1

\+ と \. を間違えた

2016/10/01 22:27

投稿

fromageblanc
fromageblanc

スコア2724

test CHANGED
@@ -30,7 +30,7 @@
30
30
 
31
31
  // ++++ 追加 ++++
32
32
 
33
- $hidden_tag_for_update_form = '<input type="hidden" name="GoodsID" value="' + $_POST['GoodsID'] + '">';
33
+ $hidden_tag_for_update_form = '<input type="hidden" name="GoodsID" value="' .$_POST['GoodsID']. '">';
34
34
 
35
35
 
36
36