diff --git a/src/DBManager.php b/src/DBManager.php index f98dbb3..e49ace2 100644 --- a/src/DBManager.php +++ b/src/DBManager.php @@ -429,7 +429,7 @@ public function insert($row, $created_by='', $table='') // bind parameters foreach($columns as $column) { - $prepared->bindParam(":{$column}", $row[$column]); + $prepared->bindValue(":{$column}", $row[$column]); } $prepared->execute();