.
This commit is contained in:
parent
fb411e2db4
commit
c6ba2a9ec5
2 changed files with 9 additions and 6 deletions
|
@ -1,3 +1,5 @@
|
||||||
|
|
||||||
|
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="de">
|
<html lang="de">
|
||||||
<head>
|
<head>
|
||||||
|
@ -14,7 +16,7 @@
|
||||||
|
|
||||||
<div class="Eingabe">
|
<div class="Eingabe">
|
||||||
<h2>Eingabe</h2>
|
<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="Title" class="input" placeholder="Titel">
|
||||||
<input type="text" name="Author" class="input" placeholder="Autor">
|
<input type="text" name="Author" class="input" placeholder="Autor">
|
||||||
<input type="text" name="Country" class="input" placeholder="Herkunft">
|
<input type="text" name="Country" class="input" placeholder="Herkunft">
|
||||||
|
@ -30,11 +32,12 @@
|
||||||
</select>
|
</select>
|
||||||
<input type="url" name="ImageLink" class="input" placeholder="Bild">
|
<input type="url" name="ImageLink" class="input" placeholder="Bild">
|
||||||
<input type="number" name="LendTime" class="input" placeholder="Verteihdauer" min ="0">
|
<input type="number" name="LendTime" class="input" placeholder="Verteihdauer" min ="0">
|
||||||
<select class="input" name="Category">
|
<select class="input" name="LendType">
|
||||||
<option>Physical</option>
|
<option>Physical</option>
|
||||||
<option>Virtual</option>
|
<option>Virtual</option>
|
||||||
</select>
|
</select>
|
||||||
<input type="submit" name="go" id="go">
|
<!--<input type="submit" name="go" id="go">-->
|
||||||
|
<input type="button" name="test" >
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
<div class="Ausgabe">
|
<div class="Ausgabe">
|
|
@ -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
|
echo $form
|
||||||
?>
|
?>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
Loading…
Reference in a new issue