Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if(isset($_POST)['submit'])) {
- $username = $_POST['username'];
- $password = $_POST['password'];
- echo "Hello " . $username;
- echo "Your password is " . $password;
- }
- ?>
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <title>thosewhodares.com</title>
- </head>
- <body>
- <form action="form.php" method="post">
- <input type="text" name="username" placehold="Enter Username"> <br>
- <input type="password" name="password" placehold="Enter Password"> <br>
- <input type="submit" name="submit">
- </form>
- </body>
- </html>
Add Comment
Please, Sign In to add comment