Advertisement
Guest User

Untitled

a guest
Mar 21st, 2019
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.69 KB | None | 0 0
  1.  
  2. /**
  3.  * Created by PhpStorm.
  4.  * User: Kenzo, Tom, Michael
  5.  * Date: 21/03/2019
  6.  * Time: 18:54
  7.  */
  8.  
  9. <!DOCTYPE html>
  10. <html lang="nl">
  11.  
  12. <head>
  13.     <meta charset="UTF-8">
  14.     <meta name="viewport" content="width=device-width, initial-scale=1.0">
  15.     <title>Formulierverwerking</title>
  16. </head>
  17.  
  18. <body>
  19.     <h1>Formulierverwerking</h1>
  20.  
  21.     <section class="content-section bg-newtheme text-white text-center" id="services">
  22.         <div class="container">
  23.             <?php
  24.  
  25.             if (isset($_POST["firstname"]) && $_POST["firstname"] != "")
  26.             {
  27.                 echo "<p> Ingevuld bij voornaam: " . $_POST["firstname"] . "<p>\n";
  28.             }
  29.             else
  30.             {
  31.                 echo "<p> Voornaam werd niet ingevuld <p>\n";
  32.             }
  33.  
  34.  
  35.             if (isset($_POST["lastname"]) && $_POST["lastname"] != "")
  36.             {
  37.                 echo "<p> Ingevuld bij naam: " . $_POST["lastname"] . "<p>\n";
  38.             }
  39.             else
  40.             {
  41.                 echo "<p> Naam werd niet ingevuld <p>\n";
  42.             }
  43.  
  44.             if (isset($_POST["email"]) && $_POST["email"] != "")
  45.             {
  46.                 echo "<p> Ingevuld bij E-mail: " . $_POST["email"] . "<p>\n";
  47.             }
  48.             else
  49.             {
  50.                 echo "<p> E-mail werd niet ingevuld <p>\n";
  51.             }
  52.  
  53.             if (isset($_POST["geslacht"]) && $_POST["geslacht"] != "")
  54.             {
  55.                 echo "<p> Keuze bij gelsacht: " . $_POST["gelsacht"] . "<p>\n";
  56.             }
  57.             else
  58.             {
  59.                 echo "<p> Je bent een man <p>\n";
  60.             }
  61.  
  62.             ?>
  63.         </div>
  64.     </section>
  65.  
  66.  
  67.  
  68.  
  69. </body>
  70.  
  71. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement