title: Posting array from form
body: <p>I have a form on my page with a bunch of inputs and some hidden fields, I've been asked to pass this data through a "post array" only im unsure on how to do this, </p>
  
  <p>Heres a snippet of what im doing at the moment</p>
  
  <pre><code>&lt;form enctype="multipart/form-data" action="process.php" method="POST"&gt; 
  ...
  more inputs
  ...
  
  &lt;!-- Hidden data --&gt;
  &lt;input type="hidden" name="TimeToRenderHoursInput" value="&lt;?php echo $RenderHours; ?&gt;" /&gt;
  &lt;input type="hidden" name="TimeToRenderDaysInput" value="&lt;?php echo $RenderDays; ?&gt;" /&gt;
  &lt;input type="hidden" name="TimeToRenderYearsInput" value="&lt;?php echo $RenderYears; ?&gt;" /&gt;
  &lt;input type="hidden" name="ContentMinutesInput" value="&lt;?php echo $ContentMinutes; ?&gt;" /&gt;
  &lt;input type="hidden" name="ContentMinutesSelector" value="&lt;?php echo $ContentMinutesSelector; ?&gt;" /&gt;
  &lt;input type="hidden" name="PriorityInput" value="&lt;?php echo $Priority; ?&gt;" /&gt;
  &lt;input type="hidden" name="AvgFrameRenderTimeInput" value="&lt;?php echo $AverageFrameRenderTime; ?&gt;" /&gt;
  &lt;input type="hidden" name="AvgFrameRenderTimeSelector" value="&lt;?php echo $AverageFrameRenderSelector; ?&gt;" /&gt;
  &lt;input type="hidden" name="CoresInTestInput" value="&lt;?php echo $CoresInTest; ?&gt;" /&gt;
  &lt;input type="hidden" name="EstPriceInput" value="&lt;?php echo $EstPrice; ?&gt;" /&gt;
  &lt;!-- End hidden --&gt;
  
  &lt;input type="image" src="http://www.venndigital.co.uk/testsite/renderbutton/_includes/images/button/submit.jpg" alt="Submit" value="Submit" style="border:0!important;" /&gt;
  </code></pre>
  
  <p>In my process.php im then calling the data as such...</p>
  
  <pre><code>$first_name = $_POST['first_name']; 
  $company_name = $_POST['company_name']; 
  $email_from = $_POST['email']; 
  $address = $_POST['address']; 
  $postcode = $_POST['postcode']; 
  $RenderHours = $_POST['TimeToRenderHoursInput'];
  $RenderDays = $_POST['TimeToRenderDaysInput'];
  $RenderYears = $_POST['TimeToRenderYearsInput'];
  $ContentMinutes = $_POST['ContentMinutesInput'];
  $ContentMinutesSelector = $_POST['ContentMinutesSelector'];
  $Priority = $_POST['PriorityInput'];
  $AverageFrameRenderTime = $_POST['AvgFrameRenderTimeInput'];
  $AverageFrameRenderSelector = $_POST['AvgFrameRenderTimeSelector'];
  $CoresInTest = $_POST['CoresInTestInput'];
  $EstPrice = $_POST['EstPriceInput'];
  </code></pre>
  
  <p>Is there a way to post it as an array? Is my method bad practice in anyway? </p>