renamed index

This commit is contained in:
Joel Garcia 2021-09-30 21:22:25 -05:00
parent fe96a18e21
commit 063481c320
1 changed files with 3 additions and 3 deletions

View File

@ -26,16 +26,16 @@ if($_POST['space_num'] and $_SERVER['REQUEST_METHOD'] == "POST"){
}
?>
<p>Welcome to the parking lot. Make sure to update de database to check if there are any spaces available</p>
<form action="data.php" method="POST">
<form action="index.php" method="POST">
<input type="submit" value="Update database">
</form>
<p>If you want to enter the parking lot, press the button below to know your assigned spot and enter when the entrance opens.</p>
<form action="data.php" method="POST">
<form action="index.php" method="POST">
<input type="submit" value="Access parking lot" name="entrance" id="entrance">
</form>
<p>If you want to exit from the parking lot, input your spot number to open the exit.</p>
<form action="data.php" method="POST" autocomplete="off">
<form action="index.php" method="POST" autocomplete="off">
<input type="number" id="space_num" name="space_num" >
<input type="submit" value="Exit parking lot">
</form>