Advertisement
Guest User

Untitled

a guest
Jul 26th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. index.php
  2. <form action="values.php" method="post">
  3. <p>Input 1: <input type="text" name="input1" /></p>
  4. <input type="submit" value="Submit" />
  5. </form>
  6.  
  7. values.php
  8. <?php
  9. $a = $_POST["input1"];
  10.  
  11.  
  12.  
  13.  
  14.  
  15. ?>
  16.  
  17. <?php
  18. echo $a;
  19. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement