Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <!-- T.Rex web page 1 html -->
- <html>
- <head>
- <!-- contains the head -->
- <title> 33 Interesting T.Rex Facts </title>
- <meta charset="UTF-8">
- <meta name="description" content="33 facts about the T.Rex">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <link rel="stylesheet" type="text/css" href= "style.php">
- </head>
- <body>
- <!-- my nav bar -->
- <div class="topnav">
- <a class="active" href="">Home</a>
- <a href="">Change Log</a>
- <a href="">Email Me</a>
- <a href="">About Me</a>
- <!-- Search engine setup in html uses php -->
- <form action="search.php" method="GET">
- <input type='text' size='20' name='search' placeholder="Search..">
- <button type="submit" name="submit-search"> </button>
- </form>
- </div>
- <!-- 10 facts would go here -->
- <div class="pagination">
- <a href="http://localhost/index1.php/">«</a>
- <a class="active" href="http://localhost/index1.php/">1</a>
- <a href="http://localhost/index4.php/">2</a>
- <a href="http://localhost/index5.php">3</a>
- <a href="http://localhost/index4.php/">»</a>
- </div>
- </body>
- </html>
- <?php
- $server = "localhost";
- $username = "";
- $password = "";
- $dbname = "dinodb";
- $conn = mysqli_connect($server, $username, $password, $dbname);
- $button = $_GET ['submit-search'];
- $search = $_GET ['search'];
- ?>
Add Comment
Please, Sign In to add comment