|
@ -216,7 +216,8 @@ fputs($output, $header_encode); |
|
|
|
|
|
|
|
|
if (count($data) > 0) { |
|
|
if (count($data) > 0) { |
|
|
foreach ($data as $row) { |
|
|
foreach ($data as $row) { |
|
|
|
|
|
|
|
|
|
|
|
$dmy=explode('-',$row['date_piece']); |
|
|
|
|
|
$row['date_piece']=$dmy[2].'/'.$dmy[1].'/'.$dmy[0]; |
|
|
$line=implode(";", $row)."\r\n"; |
|
|
$line=implode(";", $row)."\r\n"; |
|
|
$string_encoded = iconv( mb_detect_encoding( $line ), 'Windows-1252//TRANSLIT', $line ); |
|
|
$string_encoded = iconv( mb_detect_encoding( $line ), 'Windows-1252//TRANSLIT', $line ); |
|
|
|
|
|
|
|
|