From e083c0c0519bd1c5f451799ad80d62a8d33f807e Mon Sep 17 00:00:00 2001 From: Daan De Smedt Date: Fri, 2 Jun 2017 13:48:25 +0200 Subject: [PATCH] Updated Database.php Fix for multi 'where' condition implode --- Database.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Database.php b/Database.php index abe7304..985a4f9 100644 --- a/Database.php +++ b/Database.php @@ -141,7 +141,7 @@ public function fetch_multi_row($table,$col,$where) $jum=count($where); if ($jum>1) { - $im=implode('? and ', $mark); + $im=implode(' and ', $mark); $sel = $this->pdo->prepare("SELECT $colum from $table WHERE $im"); } else { $im=implode('', $mark);