title: Multiple $_POST on same page PHP
body: <p>I have a question.</p>
  
  <p>Currently this form will be dynamically generated.</p>
  
  <p>Example,</p>
  
  <pre><code>&lt;form method="POST"&gt;
  &lt;input type="text" name="location" id="location1" /&gt;
  &lt;input type="submit" value="Submit!" /&gt;
  
  &lt;input type="text" name="location" id="location2" /&gt;
  &lt;input type="submit" value="Submit!" /&gt;
  
  &lt;input type="text" name="location" id="location3" /&gt;
  &lt;input type="submit" value="Submit!" /&gt;
  
  &lt;input type="text" name="location" id="location4" /&gt;
  &lt;input type="submit" value="Submit!" /&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>So whenever i press submit, it will take last value of form only. How do i make it take all $_POST?</p>
  
  <p>Thank you.</p>