title: passing POST array to php function
body: <p>Can i pass the entire POST array into a function and handle it within the function?</p>
  
  <p>such as</p>
  
  <pre><code>PostInfo($_POST);
  
  
  function PostInfo($_POST){
      $item1 = $_POST[0];
      $item2 = $_POST[1];
      $item3 = $_POST[2];
          //do something
  return $result;
  
  }
  </code></pre>
  
  <p>or is this the correct way of doing this?</p>