Advertisement
Guest User

Elo

a guest
Oct 28th, 2016
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. <html>
  2. <body>
  3.  
  4. <form action="cos.php" method="get">
  5. Imie: <input type="text" name="imie"><br>
  6. Nazwisko: <input type="text" name="nazwisko"><br>
  7. Wiek: <input type="text" name="wiek">
  8. <input type="submit">
  9. </form>
  10.  
  11. </body>
  12. </html>
  13.  
  14.  
  15.  
  16. <html>
  17. <body>
  18.  
  19. Witaj
  20. <?php
  21. echo $_GET["imie"];
  22. echo " ";
  23. echo $_GET["nazwisko"];
  24. ?>
  25. , Jak się miewasz?<br>
  26. <?php
  27. if ($_GET["wiek"] < 18){echo "Niestety jesteś niepełnoletni :/";}
  28. else{echo "Jesteś pełnoletni";}
  29. ?>
  30. </body>
  31. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement