This commit is contained in:
David Renner 2020-06-08 14:42:06 +02:00
parent 104a749340
commit 4b44a540a6
2 changed files with 8 additions and 6 deletions

View file

@ -1,9 +1,11 @@
<html>
<html>
<?php
$obj = json_decode($form);
foreach($obj as $key=>$value){
$obj = $_POST;
$form = json_decode($obj);
foreach($form 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>