Skip to content

Instantly share code, notes, and snippets.

@dvaisman
Created March 28, 2015 20:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dvaisman/8610f0659d41722a4ac1 to your computer and use it in GitHub Desktop.
Save dvaisman/8610f0659d41722a4ac1 to your computer and use it in GitHub Desktop.
Display
<html>
<body>
<form action="welcome.php" method="post">
FirstName: <input type="text" name="firstname"><br>
LastName: <input type="text" name="lasatname"><br>
<input type="submit">
</form>
</body>
</html>
<html>
<body>
Welcome!
You are looking for information on: <?php echo $_POST["firstname"] + $_POST["lastname"; ?>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment