Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <link rel="stylesheet" href="styles.css">
- <link rel="stylesheet" href="paragraphs_styles.css">
- <link href="https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@300;400;700&display=swap" rel="stylesheet">
- <script src="https://kit.fontawesome.com/b28a5ee64c.js" crossorigin="anonymous"></script>
- </head>
- <title>Safe Flight</title>
- <header>
- <div id="wrap">
- <img src="images/plane_logo.png" height=125px>
- <img src="images/text_logo.png" height=125px>
- <a href="login.php"><button> Log In / Register </button></a>
- </div>
- </header>
- <body>
- <div class="menu">
- <nav>
- <ul>
- <li><a href="index.html"> Home </a></li>
- <li><a href="#flights"> Flights and Reservations <i class="fas fa-caret-down"></i> </a>
- <ul>
- <li><a href="book.php"> Book a Flight </a></li>
- <li><a href="destinations.php"> Destinations </a></li>
- <li><a href="splflights.php"> Special Flights and Offers</a></li>
- </ul>
- </li>
- <li><a href="#info"> Useful Information <i class="fas fa-caret-down"></i> </a>
- <ul>
- <li><a href="luggage.php"> Luggage </a></li>
- <li><a href="facilities.php"> Flight Facilities </a></li>
- <li><a href="bflight.php"> Business Flights </a></li>
- <li><a href="eflight.php"> Economy Flights </a></li>
- <li><a href="companies.php"> Information for Companies </a></li>
- </ul>
- </li>
- </ul>
- </nav>
- </div>
- <div class="luggage_container">
- <img src="images/globe.png" width="1200px">
- <div class="textoverlay">
- <h1> Destinations</h1>
- </div>
- </div>
- <div id="displayed_paragraph">
- <?php
- $db=mysqli_connect("localhost","root","","sfdatabase");
- $sql = "SELECT * FROM destinations_page";
- $result=mysqli_query($db,$sql);
- while($row=mysqli_fetch_array($result)){
- echo "<div class='dest'>";
- echo "<div class='paragraphs'>";
- echo "<h2>".$row['destination']."</h2>";
- echo "<img src='images/".$row['image']."'>";
- echo "<p>".$row['description']."</p>";
- echo "</div>";
- echo "</div>";
- }
- ?>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement