Advertisement
Guest User

Untitled

a guest
Sep 19th, 2019
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. index
  2.  
  3.  
  4. <html>
  5. <head>
  6. <title>Formularze</title>
  7. <meta charset="UTF-8">
  8. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  9. </head>
  10. <body>
  11. <h3> Wstep do formularzy w PHP </h3>
  12. <form method = "POST" action = "formularz.php">
  13. <label> Nazwa: </label> <input type ="text" name ="nazwa" /> <br />
  14. <label> Cena: </label> <input type ="text" name ="cena" /> <br />
  15. <label> Kategoria: </label> <input type ="text" name="kategoria" /> <br />
  16. <input type ="submit" value="wyslij"/> <br />
  17. <input type ="reset" value="wyczysc"/> <br />
  18.  
  19.  
  20. </form>
  21.  
  22.  
  23. </body>
  24. </html>
  25.  
  26.  
  27.  
  28.  
  29. formularz
  30.  
  31.  
  32.  
  33. <html>
  34. <head>
  35. <meta charset="UTF-8">
  36. <tittle> </tittle>
  37.  
  38. </head>
  39. <?php
  40.  
  41. echo "<pre>";
  42. print_($_POST); //wyswietlamy zmienna tablic get
  43. echo "</pre>";
  44.  
  45. ?>
  46.  
  47. </body>
  48. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement