Skip to content

Instantly share code, notes, and snippets.

@BasToTheMax
Last active June 23, 2020 12:43
Show Gist options
  • Save BasToTheMax/f9b13eaa310c677903fef7482e94d7b1 to your computer and use it in GitHub Desktop.
Save BasToTheMax/f9b13eaa310c677903fef7482e94d7b1 to your computer and use it in GitHub Desktop.
Form and getting results with PHP
<html>
<body>
<form action="Get.php" method="get">
Name: <input type="text" name="name"><br>
E-mail: <input type="text" name="email"><br>
<input type="submit">
</form>
</body>
</html>
<html>
<body>
Welcome <?php echo $_GET["name"]; ?><br>
Your email address is: <?php echo $_GET["email"]; ?>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment