Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2017
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.10 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  2. <html>
  3. <head>
  4.  
  5.   <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  6.   <title>Rejestracja</title>
  7.  
  8.  
  9. </head>
  10.  
  11.  
  12. <body>
  13.  
  14. <div style="text-align: center;"><span style="font-weight: bold;"><br>
  15.  
  16. Nazwa konta:</span><br>
  17.  
  18. <input name='Nazwa'><br>
  19.  
  20. </div>
  21.  
  22. <div style="text-align: center;"><span style="font-weight: bold;"><br>
  23.  
  24. Hasło:</span><br>
  25.  
  26. <input name='Haslo' type="password"><br>
  27.  
  28. <span style="font-weight: bold;"><br>
  29.  
  30. Email:<br>
  31.  
  32. </span><input name='Email'></div>
  33.  
  34. <div style="text-align: center;">
  35. <div style="text-align: center;"></div>
  36.  
  37. <br>
  38.  
  39. <br>
  40.  
  41. <div style="position: absolute; top: 213px; left: 380px;"><button type="sumbit">Rejestracja</button></div>
  42.  
  43. <br>
  44.  
  45. <div style="text-align: center; position: absolute; top: 213px; left: 520px;"><button type="reset">Wyczysć
  46. Pola</button>
  47. </div>
  48.  
  49. </div>
  50.  
  51. </body>
  52. </html>
  53.  
  54. <?php
  55. if(empty($_POST['Nazwa']) || empty($_POST['Haslo']) || empty($_POST['Email'])) echo'Wypełnij wszystkie pola';
  56. else echo'Wypełniłes pola poprawnie';    ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement