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 ?> -