more php done.
This commit is contained in:
parent
17c99c1e4c
commit
104a749340
2 changed files with 11 additions and 2 deletions
9
php/catalogue_read.php
Normal file
9
php/catalogue_read.php
Normal file
|
@ -0,0 +1,9 @@
|
|||
<html>
|
||||
|
||||
<?php
|
||||
$obj = json_decode($form);
|
||||
foreach($obj as $key=>$value){
|
||||
echo $key.": ".$value."[br]";
|
||||
}
|
||||
?>
|
||||
</html>
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue