コード例 #1
0
          <a href="function.php" class="navbar-link">Go Back Search</a>&nbsp;
        </p>
      </ul>
    </div>
  </div>
</nav>

<div class="container">
  <?php 
mb_internal_encoding('UTF-8');
mb_http_output('UTF-8');
include 'sunapeedb.php';
$db = new SunapeeDB();
$db->connect();
if ($_SESSION["user_type"] == 2) {
    $db->getList($_POST["retreive"]);
    // print("<form action='function.php'>");
    // print("<button class='btn btn-lg' type='submit'>GO BACK TO SEARCH</button>");
    // print("</form>");
} else {
    // print("<form action='function.php'>");
    // print("<button class='btn btn-lg' type='submit'>GO BACK TO SEARCH</button>");
    // print("</form>");
}
//$db->disconnect();
?>
</div> <!-- /container -->

<?php 
if (!empty($_POST['book'])) {
    $flightID = $_POST['book'];