From 9d9bc2c1e1aa2cc75de07baf1b65556c02cc9bd8 Mon Sep 17 00:00:00 2001 From: Naumann Date: Tue, 9 Jun 2020 11:32:44 +0200 Subject: [PATCH] input text can be displayed in table (just a test) --- addKatalog.htm | 4 +- addKatalog.php | 94 ++++++++++++++++++++++++++++++++++++++++ php/catalogue_search.php | 18 +++++--- 3 files changed, 109 insertions(+), 7 deletions(-) create mode 100644 addKatalog.php diff --git a/addKatalog.htm b/addKatalog.htm index fb2cc42..f866f4c 100644 --- a/addKatalog.htm +++ b/addKatalog.htm @@ -14,14 +14,14 @@

Eingabe

-
+ - + + + + + + + + + + + + +
+
+
+

Ausgabe

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ProductId
Titel
Autor
Land
Link
Sprache
Seitenzahl
Erscheinungsjahr
Kategorie
Bildlink
Verleihdauer
Verleihtyp
+
+ + \ No newline at end of file diff --git a/php/catalogue_search.php b/php/catalogue_search.php index 3bb7051..b966f91 100644 --- a/php/catalogue_search.php +++ b/php/catalogue_search.php @@ -1,9 +1,17 @@ - - + + + + + + Document + + $_POST["Title"],"Author"=>$_POST["Author"]); - $form = json_encode($form); - echo $form + $form = array( + "Title"=>$_POST["Title"], + "Author"=>$_POST["Author"]); + $json = json_encode($form); + echo $json; ?> \ No newline at end of file