Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2019
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. <form method="post" action="extract.php" align="left">
  2. Name: <br><input type="text" name="Name"><br>
  3. Email:<br><input type="text" name="email"><br>
  4. Phone Number:<br><input type="text" name="phno"><br>
  5. Password:<br><input type="password" name="pass"><br>
  6. comment: <br><textarea name="comment" rows="5" cols="40"></textarea><br>
  7. gender:<br>
  8. <input type="radio" name="gender" value="female">Female
  9. <input type="radio" name="gender" value="male">male
  10. <input type="radio" name="gender" value="other">other
  11. <input type="submit" name="submit">
  12. </form>
  13. <?php
  14. if(isset($_POST['submit']))
  15. {
  16. extract($_POST);
  17. echo $Name;
  18. echo $email;
  19. echo $phno;
  20. }
  21. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement