title: echo from the submission form value with different IDs
body: <p>I have a submission form with three of them</p>
  
  <p>two of them are okay which I use one ID for all the value that going to be submit</p>
  
  <p>but one of them which I'm struggling now is the one with all different values of course and the selection form also with different ID which made me confuse how can I echo it.</p>
  
  <pre><code>&lt;form action="" method="post"&gt;
    &lt;div data-role="fieldcontain"&gt;
      &lt;fieldset data-role="controlgroup" data-type="horizontal" &gt;
          &lt;legend&gt;เลือกช่อง&lt;/legend&gt;
              &lt;input type="radio" name="radio-choice-1" id="radio-choice-1" value="ch41" checked="checked" /&gt;
              &lt;label for="radio-choice-1"&gt;number 1&lt;/label&gt;
  
              &lt;input type="radio" name="radio-choice-1" id="radio-choice-2" value="ch80" /&gt;
              &lt;label for="radio-choice-2"&gt;number 2&lt;/label&gt;
  
              &lt;input type="radio" name="radio-choice-1" id="radio-choice-3" value="ch44"  /&gt;
              &lt;label for="radio-choice-3&gt;"number 3&lt;/label&gt;
  
              &lt;input type="radio" name="radio-choice-1" id="radio-choice-4" value="ch42"  /&gt;
              &lt;label for="radio-choice-4"&gt;number 4&lt;/label&gt;
  
              &lt;input type="radio" name="radio-choice-1" id="radio-choice-5" value="ch83"  /&gt;
              &lt;label for="radio-choice-5"&gt;number 5&lt;/label&gt;
      &lt;/fieldset&gt;
  &lt;/div&gt; 
  &lt;/form&gt;
  </code></pre>
  
  <p>and here is what I'm trying to echo</p>
  
  <pre><code>&lt;video width="5%" height="5%" src="http://mydomain:&lt;?php echo $_POST["radio-choice-1"]; ?&gt;-&lt;?php echo $_POST["date"]; ?&gt;-&lt;?php echo $_POST["time"]; ?&gt;" alt="" controls="" tabindex="0"&gt;
  </code></pre>
  
  <p>so the problem is on the <code>"radio-choice-#"</code></p>
  
  <p>since it has 5 numbers on the ID </p>
  
  <hr>
  
  <p>here is the example</p>
  
  <pre><code>            &lt;input type="radio" name="radio-choice-1" id="radio-choice-2" value="ch80" /&gt;
          &lt;label for="radio-choice-2"&gt;number 2&lt;/label&gt;
  
          &lt;input type="radio" name="radio-choice-1" id="radio-choice-3" value="ch44"  /&gt;
          &lt;label for="radio-choice-3&gt;"number 3&lt;/label&gt;
  
          &lt;input type="radio" name="radio-choice-1" id="radio-choice-4" value="ch42"  /&gt;
          &lt;label for="radio-choice-4"&gt;number 4&lt;/label&gt;
  
          &lt;input type="radio" name="radio-choice-1" id="radio-choice-5" value="ch83"  /&gt;
          &lt;label for="radio-choice-5"&gt;number 5&lt;/label&gt;
  </code></pre>
  
  <p>so if they choose menu number 5</p>
  
  <p>I want to echo here </p>
  
  <pre><code>&lt;video width="5%" height="5%" src="http://mydomain:&lt;?php echo $_POST["the value of number 5"]; ?"&gt;
  </code></pre>