質問編集履歴

2

引数の場所を修正

2019/10/22 07:44

投稿

sawara29
sawara29

スコア12

test CHANGED
File without changes
test CHANGED
@@ -50,13 +50,13 @@
50
50
 
51
51
  23
52
52
 
53
- 24 mysqli_real_escape_string($_POST[$link, 'maker_id']),
53
+ 24 mysqli_real_escape_string($link, $_POST['maker_id']),
54
54
 
55
- 25 mysqli_real_escape_string($_POST[$link, 'item_name']),
55
+ 25 mysqli_real_escape_string($link, $_POST['item_name']),
56
56
 
57
- 26 mysqli_real_escape_string($_POST[$link, 'price']),
57
+ 26 mysqli_real_escape_string($link, $_POST['price']),
58
58
 
59
- 27 mysqli_real_escape_string($_POST[$link, 'keyword'])
59
+ 27 mysqli_real_escape_string($link, $_POST['keyword'])
60
60
 
61
61
  28 );
62
62
 

1

後半のmysqliに修正

2019/10/22 07:44

投稿

sawara29
sawara29

スコア12

test CHANGED
File without changes
test CHANGED
@@ -62,7 +62,7 @@
62
62
 
63
63
  29
64
64
 
65
- 30 mysql_query($sql) or die(mysql_error());
65
+ 30 mysqli_query($sql) or die(mysqli_error());
66
66
 
67
67
  31
68
68