This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Jul 24th, 2013  |  syntax: None  |  size: 0.42 KB  |  views: 32  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
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>
  6.      
  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