Guest User

Untitled

a guest
Jan 23rd, 2018
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. <?php session_start() ?>
  2. <!DOCTYPE html>
  3. <head>
  4. <link rel="stylesheet" href="style.css" type="text/css" />
  5.  
  6. </head>
  7. <body>
  8. <?php include("menu.php");?>
  9.  
  10. <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post">
  11. Name: <input name="users" type="text" />
  12. <input type="submit" name="Submit" />
  13. </form>
  14.  
  15. <?php
  16. $users = $_POST['users'];
  17. $_SESSION['stuff'] = $_POST['user'];
  18. echo "You ordered ". $users . " .<br />";
  19. echo "Thank you for ordering from Tizag Art Supplies!";
  20.  
  21. ?>
  22.  
  23. <?php include("footer.php"); ?>
  24. </body>
  25. </html>
Add Comment
Please, Sign In to add comment