more php done.

This commit is contained in:
David Renner 2020-06-08 14:05:05 +02:00
parent 17c99c1e4c
commit 104a749340
2 changed files with 11 additions and 2 deletions

9
php/catalogue_read.php Normal file
View File

@ -0,0 +1,9 @@
<html>
<?php
$obj = json_decode($form);
foreach($obj as $key=>$value){
echo $key.": ".$value."[br]";
}
?>
</html>

View File

@ -1,9 +1,9 @@
<html>
<html>
<body>
<?php
$form = array("Title"=>$_POST["Title"],"Author"=>$_POST["Author"]);
$form = json_encode($form);
echo $form
?>
<div onload="catalogue_read.php/$form"></div>
</body>
</html>