This commit is contained in:
Naumann 2020-06-09 08:05:04 +02:00
parent fb411e2db4
commit c6ba2a9ec5
2 changed files with 9 additions and 6 deletions

View file

@ -1,3 +1,5 @@
<!DOCTYPE html>
<html lang="de">
<head>
@ -14,7 +16,7 @@
<div class="Eingabe">
<h2>Eingabe</h2>
<form action="catalogue_search.php" method="POST">
<form action="php/catalogue_search.php" method="POST">
<input type="text" name="Title" class="input" placeholder="Titel">
<input type="text" name="Author" class="input" placeholder="Autor">
<input type="text" name="Country" class="input" placeholder="Herkunft">
@ -29,12 +31,13 @@
<option value="EPaper">EPaper</option>
</select>
<input type="url" name="ImageLink" class="input" placeholder="Bild">
<input type="number" name="LendTime" class="input" placeholder="Verteihdauer"min ="0">
<select class="input" name="Category">
<input type="number" name="LendTime" class="input" placeholder="Verteihdauer" min ="0">
<select class="input" name="LendType">
<option>Physical</option>
<option>Virtual</option>
</select>
<input type="submit" name="go" id="go">
<!--<input type="submit" name="go" id="go">-->
<input type="button" name="test" >
</form>
</div>
<div class="Ausgabe">

View file

@ -3,7 +3,7 @@
<?php
$form = array("Title"=>$_POST["Title"],"Author"=>$_POST["Author"]);
$form = json_encode($form);
// echo $form
echo $form
?>
</body>
</html>