mirror of
https://github.com/vrana/adminer.git
synced 2025-08-17 03:53:59 +02:00
CR+LF in CSV export
This commit is contained in:
@@ -735,7 +735,7 @@ function dump_csv($row) {
|
||||
$row[$key] = '"' . str_replace('"', '""', $val) . '"';
|
||||
}
|
||||
}
|
||||
echo implode(($_POST["format"] == "csv" ? "," : ($_POST["format"] == "tsv" ? "\t" : ";")), $row) . "\n";
|
||||
echo implode(($_POST["format"] == "csv" ? "," : ($_POST["format"] == "tsv" ? "\t" : ";")), $row) . "\r\n";
|
||||
}
|
||||
|
||||
/** Apply SQL function
|
||||
|
Reference in New Issue
Block a user