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