From 4b44a540a68a9fe8a0783325c1741802cd69bbc4 Mon Sep 17 00:00:00 2001 From: David Renner Date: Mon, 8 Jun 2020 14:42:06 +0200 Subject: [PATCH] ... --- php/catalogue_read.php | 10 ++++++---- php/catalogue_search.php | 4 ++-- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/php/catalogue_read.php b/php/catalogue_read.php index a516963..6cd162a 100644 --- a/php/catalogue_read.php +++ b/php/catalogue_read.php @@ -1,9 +1,11 @@ - - + $value){ + $obj = $_POST; + $form = json_decode($obj); + foreach($form as $key=>$value){ echo $key.": ".$value."[br]"; } + ?> + \ No newline at end of file diff --git a/php/catalogue_search.php b/php/catalogue_search.php index 38486d3..2ab47da 100644 --- a/php/catalogue_search.php +++ b/php/catalogue_search.php @@ -1,9 +1,9 @@ - + $_POST["Title"],"Author"=>$_POST["Author"]); $form = json_encode($form); +// echo $form ?> -