1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-08 15:47:00 +02:00

Improve CSV; export

git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1481 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
jakubvrana
2010-04-22 23:03:54 +00:00
parent edb6401722
commit acf7a42433
3 changed files with 5 additions and 5 deletions

View File

@@ -598,7 +598,7 @@ function dump_csv($row) {
$row[$key] = '"' . str_replace('"', '""', $val) . '"';
}
}
echo implode(($_POST["format"] == "csv;" ? ";" : ","), $row) . "\n";
echo implode(($_POST["format"] == "csv" ? "," : ";"), $row) . "\n";
}
/** Apply SQL function