Closed parto254 closed 2 years ago
Replace this line with:
if (isset($dataColumns[0])) $this->query .= ' ('.implode('
, ',$dataColumns).'
) ';
@bas-surlinio
Replace this line with: if (isset($dataColumns[0])) $this->query .= ' (
'.implode('
,',$dataColumns).'
) ';
As in this?
L435:
if (isset($dataColumns[0])) $this->query .= ' (`\'.implode(\'`, `\'$dataColumns).\'`) ';
Correct
//if (isset($dataColumns[0])) $this->query .= ' (`'.implode($dataColumns, '`, `').'`) ';
if (isset($dataColumns[0])) $this->query .= ' (`' . implode('`, `', $dataColumns) . '`) ';
Will there be a release with this change?
Yeah, sure. Releazed v1.1.1 today
PHP 7.4 deprecated notice when inserting values using an array as the data source
The code:
The error