title: cant get Value of radio buttons in php when form is submitted
body: <p>So I am using a form multiple radio buttons, The purpose is for the user to rate different parts of the site with 10 questions.</p>
  
  <p>The user presses "start rating" button and the 1st question appears, then the 2nd etc.<br>
  When he finishes all of the 10 questions a submit button appears.</p>
  
  <p>The problem is that, when I'm trying to retrieve these values on PHP, I get nothing, its like the radio buttons hasn't been pressed at all. </p>
  
  <p>Newbie in HTML.</p>
  
  <p>HTML</p>
  
  <pre><code>&lt;form name="f1" action="rate.php" method="POST"&gt;
          &lt;!--1η ερώτηση--&gt;
          &lt;div class="question_div" id="question_div1"&gt;
              &lt;center&gt;&lt;p class="questiontitle"&gt;&lt;b&gt;Ερώτηση 1 από 10&lt;/b&gt;&lt;/p&gt;&lt;/center&gt;
              &lt;p&gt;Νομίζω ότι θα ήθελα να χρησιμοποιώ αυτά τα παιχνίδια συχνά.&lt;/p&gt;
  
              &lt;div class="answer_div"&gt;
                  &lt;div class="answer_options"&gt;
                      &lt;label class="opt_label"&gt;
                          &lt;input type="radio" name="input1" id="input1_1" value="1" class="option"&gt;
                          &lt;span class="opt_span"&gt;&lt;b&gt;1&lt;/b&gt;&lt;/span&gt;
                      &lt;/label&gt;
                      &lt;label class="opt_label"&gt;
                          &lt;input type="radio" name="input1" id="input1_2" value="2" class="option"&gt;
                          &lt;span class="opt_span"&gt;&lt;b&gt;2&lt;/b&gt;&lt;/span&gt;
                      &lt;/label&gt;
                      &lt;label class="opt_label"&gt;
                          &lt;input type="radio" name="input1" id="input1_3" value="3" class="option"&gt;
                          &lt;span class="opt_span"&gt;&lt;b&gt;3&lt;/b&gt;&lt;/span&gt;
                      &lt;/label&gt;
                      &lt;label class="opt_label"&gt;
                          &lt;input type="radio" name="input1" id="input1_4" value="4" class="option"&gt;
                          &lt;span class="opt_span"&gt;&lt;b&gt;4&lt;/b&gt;&lt;/span&gt;
                      &lt;/label&gt;
                      &lt;label class="opt_label"&gt;
                          &lt;input type="radio" name="input1" id="input1_5" value="5" class="option"&gt;
                          &lt;span class="opt_span"&gt;&lt;b&gt;5&lt;/b&gt;&lt;/span&gt;
                      &lt;/label&gt;
                  &lt;/div&gt;
  
                  &lt;div class="answer-options"&gt;
                      &lt;div align="left" style="width:20%;
                                               float:left;
                                               margin-right:30px;"&gt;Διαφωνώ απολύτως&lt;/div&gt;
                      &lt;div align="right" style="width:20%;
                                                float:right;
                                                margin-left:30px;"&gt;Συμφωνώ απολύτως&lt;/div&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
  
  
  
  
              &lt;button class="nextbtn" type="button" id="btn1" onclick="(function(){
                                                                                      document.getElementById('question_div1').style.display = 'none';
                                                                                      document.getElementById('question_div2').style.display = 'block';
                                                                                      return false;
                                                                                  })();return false;"&gt;Επόμενη Ερώτηση&lt;/button&gt;
  
          &lt;/div&gt;
  </code></pre>
  
  <p>this is the start of the form and the 1st question, the other questions follow the same architecture.</p>
  
  <p>PHP:</p>
  
  <pre><code>if(!empty($_POST["f1"])){
      $q1 = $_POST['input1'];
      $q2 = $_POST['input2'];
      $q3 = $_POST['input3'];
      $q4 = $_POST['input4'];
      $q5 = $_POST['input5'];
      $q6 = $_POST['input6'];
      $q7 = $_POST['input7'];
      $q8 = $_POST['input8'];
      $q9 = $_POST['input9'];
      $q10 = $_POST['input10'];
      }
  </code></pre>