質問編集履歴
3
修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -20,7 +20,7 @@
|
|
20
20
|
}
|
21
21
|
$sql->execute();
|
22
22
|
$sql->closeCursor();
|
23
|
-
//access_logテーブルに参照者と
|
23
|
+
//access_logテーブルに参照者と日時を追加
|
24
24
|
$sql2 = "insert into access_log (id,accessor,ins_date) values(null,".$id.",now())";
|
25
25
|
$stmt = $this->db->prepare($sql2);
|
26
26
|
$stmt->execute();
|
2
修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -23,7 +23,6 @@
|
|
23
23
|
//access_logテーブルに参照者と参照されたユーザと日時を追加
|
24
24
|
$sql2 = "insert into access_log (id,accessor,ins_date) values(null,".$id.",now())";
|
25
25
|
$stmt = $this->db->prepare($sql2);
|
26
|
-
$stmt->bindParam(':sid',$id);
|
27
26
|
$stmt->execute();
|
28
27
|
$stmt->closeCursor();
|
29
28
|
|
1
修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -18,7 +18,6 @@
|
|
18
18
|
$sql = $this->db->prepare("SELECT * FROM Customer where Customer.SID = 10 limit 50");
|
19
19
|
|
20
20
|
}
|
21
|
-
$sql->bindParam(':sid',$id);
|
22
21
|
$sql->execute();
|
23
22
|
$sql->closeCursor();
|
24
23
|
//access_logテーブルに参照者と参照されたユーザと日時を追加
|