Check out the Pastebin Gadgets Shop. We have thousands of fun, geeky & affordable gadgets on sale :-)Want more features on Pastebin? Sign Up, it's FREE!


By: a guest on Jul 24th, 2013  |  syntax: None  |  size: 0.42 KB  |  views: 32  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print  |  QR code  |  clone
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1.     <form method="get" action="processor.php">
  2.             <input type="text" name="firstName">
  3.             <input type="text" name="lastName">
  4.             <input type="submit" value="Submit">
  5.     </form>
  7.     <!--Assume anything above this is part of your HTML document-->
  8.     <!--Assume anything below this is part of processor.php-->
  9.     <?php
  10.         echo $_GET['firstName'];
  11.         echo $_GET['lastName'];
  12.     ?>
clone this paste RAW Paste Data