From a055baf104926010a66fa663e992be6f36434606 Mon Sep 17 00:00:00 2001 From: Goeran Heinemann Date: Tue, 17 Mar 2020 08:00:53 +0100 Subject: [PATCH] =?UTF-8?q?api=20rudiment=C3=A4r?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- html/api/index.php | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 html/api/index.php diff --git a/html/api/index.php b/html/api/index.php new file mode 100644 index 0000000..c051374 --- /dev/null +++ b/html/api/index.php @@ -0,0 +1,9 @@ +query($sql); + + +header('Content-type: application/json'); +echo $stmt->fetchAll(PDO::FETCH_ASSOC)[0]['content']; \ No newline at end of file