Advertisement
Guest User

Untitled

a guest
Apr 25th, 2019
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. <html>
  2.  
  3. <head>
  4. <title> Formularz </title>
  5. </head>
  6. <body>
  7.  
  8.  
  9.  
  10. <h1> Formularz </h1>
  11.  
  12. <form method="post" action="plik1.php">
  13. <input type="text" name="imie"> <br>
  14. <input type="submit" value="Wyslij">
  15. </form>
  16. </div>
  17. <div>
  18. <p> Witaj
  19.  
  20. <?php
  21. if( !empty($_POST['imie']) && isset($_POST['imie']) )
  22. echo($_POST['imie']);
  23. else
  24. echo('nieznajomy');
  25. ?>
  26. </p>
  27. </div>
  28.  
  29.  
  30.  
  31.  
  32. </body>
  33.  
  34. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement