Advertisement
Guest User

Untitled

a guest
Oct 21st, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.35 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport"/>
  6. <title></title>
  7. </head>
  8. <body>
  9. <fieldset>
  10. <legend><>Listagem de Produtos></legend>
  11. <form action="processaform.php" method="post">
  12. <label for="Nome"><h3>Nome Do Produto:</label></h3> <br/>
  13. <input id="Nome" name="Nome" type="text" required><br/>
  14. <br/>
  15. <label for="slug"> Slug: </label><br/>
  16. <br/>
  17. <input id="slug" name="slug" type="text" required> <br/>
  18. <br/>
  19. <label for="id"> ID: <label> <br/>
  20. <br/>
  21. <input id="ID" name="ID" type="text" required><br/>
  22. <br/>
  23. <label for="Gtin">Gtin: <label> <br/>
  24. <br/>
  25. <input id="Gtin"name="Gtin" type="number"><br/>
  26. <br/>
  27. <label for="Tamanho">Tamanho:</label><br/>
  28. <input id="Tamanho" name="Tamanho" type="text">
  29. <br/>
  30. <input type="submit">
  31.  
  32. </form>
  33.  
  34.  
  35.  
  36. </fieldset>
  37. </body>
  38. </html>
  39.  
  40.  
  41.  
  42.  
  43. <?php
  44. $Nome = $_POST['name'];
  45. $slug = $_POST['slug'];
  46. $id = $_POST['id'];
  47. $Gtin = $_POST['Gtin'];
  48. $Tamanho = ($_POST["Tamanho"]);
  49.  
  50. echo $Nome;
  51. echo $slug;
  52. echo $id;
  53. echo $Gtin;
  54. echo $Tamanho;
  55.  
  56. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement