Advertisement
Guest User

Untitled

a guest
Dec 22nd, 2014
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. <?php
  2.  
  3. session_start();
  4.  
  5. ?>
  6.  
  7. <h1>Inloggen</h1>
  8.  
  9. <?php
  10.  
  11. if ( isset( $_POST['submit'] ) )
  12. {
  13. $naam = $_POST['naam'];
  14.  
  15. if ( empty( $naam ) )
  16. {
  17. print "ga je naam typen";
  18. }
  19. else
  20. {
  21. print "goed";
  22. }
  23.  
  24.  
  25. }
  26.  
  27. ?>
  28.  
  29.  
  30.  
  31. <form method="post" action="inlogformulier.php">
  32. <p><input type="text" name="naam" value="" placeholder="Username or Email"></p>
  33. <p><input type="password" name="paswoord" value="" placeholder="Password"></p>
  34. <p class="remember_me">
  35. </p>
  36. <p class="submit"><input type="submit" name="commit" value="Login"></p>
  37. </form>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement