...
This commit is contained in:
parent
104a749340
commit
4b44a540a6
2 changed files with 8 additions and 6 deletions
|
@ -1,9 +1,11 @@
|
|||
<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>
|
|
@ -3,7 +3,7 @@
|
|||
<?php
|
||||
$form = array("Title"=>$_POST["Title"],"Author"=>$_POST["Author"]);
|
||||
$form = json_encode($form);
|
||||
// echo $form
|
||||
?>
|
||||
<div onload="catalogue_read.php/$form"></div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in a new issue