From 31f88fa01b26c69948cea21d489f1784cad7b5d7 Mon Sep 17 00:00:00 2001 From: oesi Date: Wed, 23 Sep 2015 17:48:28 +0200 Subject: [PATCH] =?UTF-8?q?CSV=20Export=20funktioniert=20nun=20auch=20wenn?= =?UTF-8?q?=20Parameter=20an=20die=20Statistik=20=C3=BCbergeben=20werden?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vilesci/statistik/statistik_sql.php | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/vilesci/statistik/statistik_sql.php b/vilesci/statistik/statistik_sql.php index 83af3b729..d1ed48889 100644 --- a/vilesci/statistik/statistik_sql.php +++ b/vilesci/statistik/statistik_sql.php @@ -80,6 +80,18 @@ switch ($outputformat) echo $json; return; } + +$param=''; +foreach($_REQUEST as $name=>$value) +{ + if (is_array($value)) + { + foreach($value as $row) + $param .= '&'.$name.'[]='.urlencode($row); + } + else + $param .= '&'.$name.'='.urlencode($value); +} ?> @@ -99,7 +111,7 @@ switch ($outputformat) -

Statistik - bezeichnung ?> - CSV Download

+

Statistik - bezeichnung ?> - CSV Download

getHtmlTable('myTable', 'tablesorter'); ?>