basic_get_form.php 517 B

1234567891011121314151617181920212223
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>Basic Get Form</title>
  5. <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
  6. </head>
  7. <body>
  8. <h1>Basic Get Form Page</h1>
  9. <div id="serach">
  10. <?php
  11. require_once 'utils.php';
  12. echo isset($_GET['q']) && $_GET['q'] ? html_escape_value($_GET['q']) : 'No search query';
  13. ?>
  14. </div>
  15. <form>
  16. <input name="q" value="" type="text" />
  17. <input type="submit" value="Find" />
  18. </form>
  19. </body>
  20. </html>