PHP Classes

File: templates/search.html

Recommend this page to a friend!
  Classes of Gert Massheimer   Website PHP Full Text Search   templates/search.html   Download  
File: templates/search.html
Role: Auxiliary data
Content type: text/plain
Description: Documentation
Class: Website PHP Full Text Search
Search for text expressions in files in a folder
Author: By
Last change:
Date: 1 year ago
Size: 1,278 bytes
 

Contents

Class file image Download
<!doctype html> <html lang="en"> <head> <!-- Required meta tags --> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- Bootstrap CSS --> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-eOJMYsd53ii+scO/bJGFsiCZc+5NDVN2yr8+0RDqr0Ql0h+rP48ckxlpbzKgwra6" crossorigin="anonymous"> <title>Example Search Page</title> </head> <body> <nav class="navbar fixed-top navbar-light bg-light shadow"> <div class="container"> <a class="navbar-brand" href="/">Navbar</a> <form class="d-flex" action="/MySearch.php" method="post"> <div class="input-group input-group-sm"> <input class="form-control border-secondary" type="search" name="search_exp" placeholder="Search..." aria-label="Search" style="width: 8rem"> <button class="btn btn-outline-secondary" type="submit">GO</button> </div> </form> </div> </nav> <?php // make sure, you're calling the right class! new MySearch(); ?> <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta3/dist/js/bootstrap.bundle.min.js" integrity="sha384-JEW9xMcG8R+pH31jmWH6WWP0WintQrMb4s7ZOdauHnUtxwoG2vI5DkLtS3qm9Ekf" crossorigin="anonymous"></script> </body> </html>