fixed ob clean
This commit is contained in:
1 parent
af09d36a76
commit
f58d672374
1 file changed
+1
-1
@@ -32,10 +32,10 @@ $userAssocArray = $sql->assoc_array("
|
||||
");
|
||||
|
||||
$filename = "taglista.csv";
|
||||
ob_end_clean();
|
||||
$fp = fopen('php://output', 'w');
|
||||
|
||||
fputcsv($fp, array_keys(reset($userAssocArray)), ';');
|
||||
ob_end_clean();
|
||||
|
||||
header('Content-type: application/csv');
|
||||
header('Content-Disposition: attachment; filename='.$filename);
|
||||
|
||||
Reference in new issue
Block a user