aboutsummaryrefslogtreecommitdiff
path: root/reservation.php
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2020-10-04 00:16:49 +0200
committerMateja <mail@matejamaric.com>2020-10-04 00:16:49 +0200
commita3094caeb564821870870d57efb4a4fc3fd659e7 (patch)
tree9399de7d6fd48900d1d01573a81a286aa2fdfa74 /reservation.php
parent1e44886d6f53d5bb9621211810fdea247f7fbd71 (diff)
downloadold-php-yota-a3094caeb564821870870d57efb4a4fc3fd659e7.tar.gz
old-php-yota-a3094caeb564821870870d57efb4a4fc3fd659e7.zip
A whole lot of shaking going on...
Diffstat (limited to 'reservation.php')
-rw-r--r--reservation.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/reservation.php b/reservation.php
index ec46440..05f6fa7 100644
--- a/reservation.php
+++ b/reservation.php
@@ -24,11 +24,14 @@ session_start();
?>
</nav>
<main>
+
<?php
- require "handle-reservation.php";
+if (isset($_SESSION["msg"])) {
+ echo "<p class=\"mid\"><strong>" . $_SESSION["msg"] . "</strong></p>";
+}
?>
-<form method="post">
+<form action="handle-reservation.php" method="post">
<!-- SPECIAL CALL -->
<label for="special-call">Special Call:</label>
<select id="special-call" name="scall">