Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <title>Forms</title>
- </head>
- <body>
- <form name="deluxe" action="" method="get">
- Password: <input type="text" name="pass" />
- <input type="submit" value="Submit" />
- </form>
- <?php
- if(isset($_POST['submit'])) {
- $username = $_POST['username']; // the input name "username"
- $password = $_POST['pass']; // the input name "pass"
- echo "Your Password is:".$password." and your username is:".$username;
- }
- ?>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement