質問編集履歴

3

修正

2015/11/22 14:59

投稿

tixure55
tixure55

スコア400

test CHANGED
File without changes
test CHANGED
@@ -42,7 +42,7 @@
42
42
 
43
43
  $sql->closeCursor();
44
44
 
45
- //access_logテーブルに参照者と参照されたユーザと日時を追加
45
+ //access_logテーブルに参照者と日時を追加
46
46
 
47
47
  $sql2 = "insert into access_log (id,accessor,ins_date) values(null,".$id.",now())";
48
48
 

2

修正

2015/11/22 14:59

投稿

tixure55
tixure55

スコア400

test CHANGED
File without changes
test CHANGED
@@ -48,8 +48,6 @@
48
48
 
49
49
  $stmt = $this->db->prepare($sql2);
50
50
 
51
- $stmt->bindParam(':sid',$id);
52
-
53
51
  $stmt->execute();
54
52
 
55
53
  $stmt->closeCursor();

1

修正

2015/11/22 14:57

投稿

tixure55
tixure55

スコア400

test CHANGED
File without changes
test CHANGED
@@ -38,8 +38,6 @@
38
38
 
39
39
  }
40
40
 
41
- $sql->bindParam(':sid',$id);
42
-
43
41
  $sql->execute();
44
42
 
45
43
  $sql->closeCursor();