質問編集履歴
1
ソースはコードで投稿に編集
test
CHANGED
File without changes
|
test
CHANGED
@@ -40,6 +40,8 @@
|
|
40
40
|
|
41
41
|
|
42
42
|
|
43
|
+
```ここに言語を入力
|
44
|
+
|
43
45
|
$stmt = $db->prepare('SELECT business_no, customer_name, order_name FROM ? WHERE sp_no = ?');
|
44
46
|
|
45
47
|
$stmt->bindParam(1, $_SESSION['fy'], PDO::PARAM_STR);
|
@@ -47,6 +49,8 @@
|
|
47
49
|
$stmt->bindParam(2, $_POST["sp_no"], PDO::PARAM_STR); //OK
|
48
50
|
|
49
51
|
$stmt->execute();
|
52
|
+
|
53
|
+
```
|
50
54
|
|
51
55
|
|
52
56
|
|
@@ -58,12 +62,16 @@
|
|
58
62
|
|
59
63
|
|
60
64
|
|
65
|
+
```ここに言語を入力
|
66
|
+
|
61
67
|
$stmt = $db->prepare('SELECT business_no, customer_name, order_name FROM fy2020 WHERE sp_no = ?');
|
62
68
|
|
63
69
|
$stmt->bindParam(1, $_POST["sp_no"], PDO::PARAM_STR); //OK
|
64
70
|
|
65
71
|
$stmt->execute();
|
66
72
|
|
73
|
+
```
|
74
|
+
|
67
75
|
|
68
76
|
|
69
77
|
|