Advertisement
Guest User

Untitled

a guest
Mar 9th, 2015
260
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="nl">
  3. <head>
  4. <title>Mijn php-script</title>
  5. </head>
  6. <body>
  7. <h3>Uw gegevens zijn:</h3>
  8. <?php
  9. if (isset($_POST["AM"]))
  10. {
  11. echo ("Achternaam: ") . $_POST["AM"] . '<br/>';
  12. }
  13. else
  14. {
  15. //foutmelding
  16. }
  17.  
  18. if (isset($_POST["VM"]))
  19. {
  20. echo ("Voornaam: ") . $_POST["VM"] .'<br/>';
  21. }
  22. else
  23. {
  24. //foutmelding
  25. }
  26.  
  27. if (isset($_POST["AS"]))
  28. {
  29. echo ("Adres: ") . $_POST["AS"] .'<br/>';
  30. }
  31. else
  32. {
  33. //foutmelding
  34. }
  35.  
  36. if (isset($_POST["PE"]))
  37. {
  38. echo ("Postcode: ") . $_POST["PE"] .'<br/>';
  39. }
  40. else
  41. {
  42. //foutmelding
  43. }
  44.  
  45. if (isset($_POST["PS"]))
  46. {
  47. echo ("Plaats: ") . $_POST["PS"] .'<br/>';
  48. }
  49. else
  50. {
  51. //foutmelding
  52. }
  53.  
  54. if (isset($_POST["ER"]))
  55. {
  56. echo ("Email-Adres: ") . $_POST["ER"] .'<br/>';
  57. }
  58. else
  59. {
  60. //foutmelding
  61. }
  62.  
  63. if (isset($_POST['OG']))
  64. if ($_POST["taal"] == "ICT")
  65. {
  66. echo ("ICT-opleidingen zijn vol. Kies een andere opleiding.");
  67. }
  68. elseif
  69. {
  70. echo ("Uw opleiding: ") . $_POST["OG"];
  71. }
  72.  
  73. ?>
  74. </body>
  75. </html >
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement