@@ -162,7 +162,7 @@ |
||
162 | 162 | $this->conn->beginTransaction(); |
163 | 163 | |
164 | 164 | $dbh = null; |
165 | - $res = $this->conn->prepare('INSERT INTO ' . $table . ' (' . $fields . ') VALUES (' . $values . ');'); |
|
165 | + $res = $this->conn->prepare('INSERT INTO '.$table.' ('.$fields.') VALUES ('.$values.');'); |
|
166 | 166 | foreach ($rows AS $row) { |
167 | 167 | $dbh = $res->execute($row); |
168 | 168 | } |