Guest User

Untitled

a guest
Jan 23rd, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.44 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="" method="post">
  11. Name: <input name="users" type="text" />
  12. <input type="submit" name="Submit" />
  13. </form>
  14.  
  15. <?php
  16. if ($_POST['submit']!=""){
  17. $_SESSION['stuff'] = $_POST['users'];
  18. echo $_SESSION['stuff'];
  19. }
  20.  
  21.  
  22. ?>
  23.  
  24. <?php include("footer.php"); ?>
  25.  
  26. </body>
  27. </html>
Add Comment
Please, Sign In to add comment