title: PHP post all form inputs without creating variables for each
body: <p>Usually when I use PHP I create a variable and post statement for each form input like so:</p>
  
  <pre><code>   $myVar1 = $_POST["formItem1"];
     $myVar2 = $_POST["formItem2"];
     ect......
  </code></pre>
  
  <p>I know if i use:</p>
  
  <pre><code>  echo $_POST;
  </code></pre>
  
  <p>I can get all the key and values from the form inputs but I don't know how to use them in a script.</p>
  
  <p>So I guess I have 2 questions:</p>
  
  <ol>
  <li><p>How do I quickly post all form inputs without creating a variable for each input?</p></li>
  <li><p>How do I use a posted in a script without having it assigned to a specific variable? </p></li>
  </ol>