title: how to track responses from a php echo form
body: <p>I have code in a while loop that ultimately echoes out 30 questions. Since its iterating with the same code just different variable values, I cannot track a tag to use _POST with. </p>
  
  <p>Is there anyway for me to store all the answers the user chooses while using a while loop?</p>
  
  <p>code:</p>
  
  <pre><code>  while (counter !=0) {
          echo '
              &lt;form method="post"&gt;
  
                  &lt;input type="radio" id="answerA" name= "answerA " value="answerA" required&gt; 
                  &lt;label for="answerA"&gt; ' . $row['answerA'] . ' &lt;/label&gt;&lt;br&gt;
                  &lt;input type="radio" id="answerB" name="answerB" value="answerB"&gt; 
                  &lt;label for="answerB"&gt; ' . $row['answerB'] . ' &lt;/label&gt;&lt;br&gt;
                  &lt;input type="radio" id="answerC" name="answerC" value="answerC"&gt; 
                  &lt;label for="answerC"&gt; ' . $row['answerC'] . ' &lt;/label&gt;&lt;br&gt;
                  &lt;input type="radio" id="answerD" name="answerD" value="answerD"&gt;
                  &lt;label for="answerD"&gt; ' . $row['answerD'] . ' &lt;/label&gt;&lt;br&gt;
  
  
              &lt;/form&gt;
          '
          ;
  
  }
  </code></pre>