summaryrefslogtreecommitdiff
path: root/intern.gospeladlershof.de/code
diff options
context:
space:
mode:
Diffstat (limited to 'intern.gospeladlershof.de/code')
-rw-r--r--intern.gospeladlershof.de/code/export.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/intern.gospeladlershof.de/code/export.php b/intern.gospeladlershof.de/code/export.php
new file mode 100644
index 0000000..6c1e3f1
--- /dev/null
+++ b/intern.gospeladlershof.de/code/export.php
@@ -0,0 +1,12 @@
+<?php
+
+require_once __DIR__ . '/termine.php';
+$konzert = $konzert[0];
+
+header("Content-Type: text/plain; Charset=UTF-8");
+header("Content-Disposition: attachment; filename=\"Probentermine ".date("j.n.Y", time()).".txt\"");
+
+echo "Gospelchor Adlershof - Probentermine (Stand ". date("j.n.Y", time()) .") \n\n";
+foreach($proben as $item) {
+ echo $item["termin"] . ": " . $item["uhrzeit"] . "\n";
+}