Guest User

Untitled

a guest
Jul 19th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. <form action="/path/to/phpscript.php" method="post">
  2. Name: <input type="text" name="name"><br>
  3. Phone: <input type="text" name="phone"><br>
  4. <input type="submit" name="dosubmit" value="Submit">
  5. </form>
  6.  
  7.  
  8.  
  9. <?
  10. // phpscript.php:
  11. print "You said...<br>";
  12. print $_POST['name'] . "<br>";
  13. print $_POST['phone'] . "<br>";
  14. ?>
Add Comment
Please, Sign In to add comment