daily pastebin goal
16%
SHARE
TWEET

Untitled

a guest Dec 7th, 2017 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4.     <meta charset="UTF-8">
  5.     <title>Teachers</title>
  6. </head>
  7. <body>
  8.  
  9. <form action="teachers.php" method="post">
  10.     Search for teachers containing the following:
  11.     <input type="text" name="name">
  12.     <br>
  13.     <input type="submit" value="Submit">
  14. </form>
  15.  
  16. <br>
  17.  
  18. <form action="addteacher.php">
  19.     <input type="submit" value="Add new teacher">
  20. </form>
  21.  
  22. <h3>Teachers</h3>
  23.  
  24. {% if searched == true %}
  25.     <p>You searched for names containing {{ searchedName }}</p>
  26. {% endif %}
  27.  
  28. <ol>
  29.     {% for teacher in teachers %}
  30.         <li> Teacher ID: {{ teacher.Id }} <br> Name: {{ teacher.Name }} <br> Mobile No.: {{ teacher.MobileNo }} <br><br></li>
  31.     {% endfor %}
  32. </ol>
  33.  
  34. </body>
  35. </html>
RAW Paste Data
Top