Skip to content

Instantly share code, notes, and snippets.

@tolyod
Created April 1, 2020 14:34
Show Gist options
  • Save tolyod/3b692284d34e9ee8c1d1cfc4e2cc7f02 to your computer and use it in GitHub Desktop.
Save tolyod/3b692284d34e9ee8c1d1cfc4e2cc7f02 to your computer and use it in GitHub Desktop.
<?php
$filePathIn = "Documents/avk_SportSystem_SS_de_.csv";
$filePathOut = "Documents/avk_SportSystem_SS_de_out.csv";
$csv = array_map('str_getcsv', file($filePath));
$maped_csv = array_map(function ($elems) {return join(';', $elems);}, $csv);
file_put_contents($filePathOut, join("\n", $maped_csv));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment