回答編集履歴

2

余計なスペース除去

2019/12/04 02:56

投稿

退会済みユーザー
test CHANGED
@@ -86,7 +86,7 @@
86
86
 
87
87
 
88
88
 
89
- $qry = "SELECT * FROM {$table} {$where}";
89
+ $qry = "SELECT * FROM {$table}{$where}";
90
90
 
91
91
  $stmt = $this->dbh->query($query);
92
92
 

1

バグ修正

2019/12/04 02:56

投稿

退会済みユーザー
test CHANGED
@@ -78,7 +78,7 @@
78
78
 
79
79
  $where = (count($where_array) !== 0)
80
80
 
81
- ? " WHERE " . implode("and", $where_array)
81
+ ? " WHERE " . implode(" AND ", $where_array)
82
82
 
83
83
  : ""
84
84