From 6d5524a2150fe473a77caf6458f71d6feb9f4518 Mon Sep 17 00:00:00 2001 From: Ivan Carlos de Almeida Date: Wed, 17 Dec 2025 15:20:51 -0300 Subject: [PATCH] fix export excel --- public/export.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/export.php b/public/export.php index 27e1faa..4108094 100644 --- a/public/export.php +++ b/public/export.php @@ -140,7 +140,7 @@ $output = fopen('php://output', 'w'); fwrite($output, "\xEF\xBB\xBF"); // Write CSV header row -fputcsv($output, $columns_to_export); +fputcsv($output, $columns_to_export, ",", "\"", "\\"); // Write all rows foreach ($allRows as $row) { @@ -152,7 +152,7 @@ foreach ($allRows as $row) { } $exportRow[] = $val; } - fputcsv($output, $exportRow); + fputcsv($output, $exportRow, ",", "\"", "\\"); } fclose($output);