just some cleanup
This commit is contained in:
parent
085c62f199
commit
e244196c4b
1 changed files with 3 additions and 6 deletions
|
@ -6,12 +6,9 @@
|
|||
"Author"=>$_POST["Author"]);
|
||||
$json = json_encode($form);
|
||||
//echo $json;
|
||||
|
||||
|
||||
// Dieser Schritt dient nur um die Daten wieder in der Ausgabe anzeigen zu lassen,
|
||||
//muss später noch an eine andere Stelle gepackt werden 8z.B. nach dem Empfang von Daten aus der API)
|
||||
$json= json_decode($json, true);
|
||||
|
||||
$json2= json_decode($json, true);
|
||||
}
|
||||
|
||||
?>
|
||||
|
@ -64,11 +61,11 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="fix">Titel</td>
|
||||
<td><?php if(isset($_POST["go"])) echo $json['Title']; ?></td>
|
||||
<td><?php if(isset($_POST["go"])) echo $json2['Title']; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="fix">Autor</td>
|
||||
<td><?php if(isset($_POST["go"])) echo $json['Author']; ?></td>
|
||||
<td><?php if(isset($_POST["go"])) echo $json2['Author']; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="fix">Land</td>
|
||||
|
|
Loading…
Reference in a new issue