Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Created by PhpStorm.
- * User: Kenzo, Tom, Michael
- * Date: 21/03/2019
- * Time: 18:54
- */
- <!DOCTYPE html>
- <html lang="nl">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>Formulierverwerking</title>
- </head>
- <body>
- <h1>Formulierverwerking</h1>
- <section class="content-section bg-newtheme text-white text-center" id="services">
- <div class="container">
- <?php
- if (isset($_POST["firstname"]) && $_POST["firstname"] != "")
- {
- echo "<p> Ingevuld bij voornaam: " . $_POST["firstname"] . "<p>\n";
- }
- else
- {
- echo "<p> Voornaam werd niet ingevuld <p>\n";
- }
- if (isset($_POST["lastname"]) && $_POST["lastname"] != "")
- {
- echo "<p> Ingevuld bij naam: " . $_POST["lastname"] . "<p>\n";
- }
- else
- {
- echo "<p> Naam werd niet ingevuld <p>\n";
- }
- if (isset($_POST["email"]) && $_POST["email"] != "")
- {
- echo "<p> Ingevuld bij E-mail: " . $_POST["email"] . "<p>\n";
- }
- else
- {
- echo "<p> E-mail werd niet ingevuld <p>\n";
- }
- if (isset($_POST["geslacht"]) && $_POST["geslacht"] != "")
- {
- echo "<p> Keuze bij gelsacht: " . $_POST["gelsacht"] . "<p>\n";
- }
- else
- {
- echo "<p> Je bent een man <p>\n";
- }
- ?>
- </div>
- </section>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement