botiga_php/Aindex.php

32 lines
884 B
PHP
Raw Normal View History

2021-11-27 12:01:50 +01:00
<!DOCTYPE html>
<html>
<body>
<h2>Fill the input fields to interact</h2>
<form action="./data_submit.php" method="post">
<label for="filmid">Film ID</label><br>
<input type="text" id="filmid" name="filmid"><br>
<label for="ftitle">Film Title</label><br>
<input type="text" id="ftitle" name="ftitle"><br>
<label for="fyear">Film Year</label><br>
<input type="text" id="fyear" name="fyear"><br><br>
<label for="foption">Operation</label><br><br>
<select id="foption" name="foption">
<option value="choose" selected>Choose</option>
<option value="select">Select</option>
<option value="insert">Insert</option>
<option value="delete">Delete</option>
<option value="update">Update</option>
</select><br><br><br>
<input type="submit" value="Submit">
</form>
</body>
</html>
<?php
if (isset($_GET["message"])){
echo $_GET["message"];
}
?>