Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- index.php
- <form action="values.php" method="post">
- <p>Input 1: <input type="text" name="input1" /></p>
- <input type="submit" value="Submit" />
- </form>
- values.php
- <?php
- $a = $_POST["input1"];
- ?>
- <?php
- echo $a;
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement