title: Multiple radio button array for php form
body: <p>I'm new to this. I'm studying web development and have to create a php response form for a questionnaire which then inputs into a database. I'm having trouble with the radio buttons. I can't create the right code that makes an array and displays the answers in the response form/page. </p>
  
  <p>This is my code:</p>
  
  <pre><code>&lt;form name="modulequestionnaire" method="post" action="tania.responseform.php" /&gt;
  
  &lt;p&gt;&lt;i&gt;Rate each question from 6 to 1, six being strongly 
  agree and one being strongly disagree.&lt;/i&gt;&lt;/p&gt;
  
  1. I think the module guide/student handbook provided enough information about the 
  module content, organisation and assessment.&lt;br/&gt;
  
  6&lt;input type="radio" name="answer[1]" value="6"&gt; 5&lt;input type="radio" name="answer[1]" value="5"&gt; 
  4&lt;input type="radio" name="answer[1]" value="4"&gt; 3&lt;input type="radio" name="answer[1]" value="3"&gt; 
  2&lt;input type="radio" name="answer[1]" value="2"&gt; 1&lt;input type="radio" name="answer[1]" value="1"&gt;
  &lt;/p&gt;
  
  2.The module was well organised.&lt;br/&gt;
  
  6&lt;input type="radio" name="answer[2]" value="6"&gt; 5&lt;input type="radio" name="answer[2]" value="5"&gt; 
  4&lt;input type="radio" name="answer[2]" value="4"&gt; 3&lt;input type="radio" name="answer[2]" value="3"&gt; 
  2&lt;input type="radio" name="answer[2]" value="2"&gt; 1&lt;input type="radio" name="answer[2]" value="1"&gt; 
  &lt;/p&gt;
  
  3.The Learning Resource Centre provided adequate materials for the module.&lt;br/&gt;
  
  6&lt;input type="radio" name="answer[3]" value="6"&gt; 5&lt;input type="radio" name="answer[3]" value="5"&gt; 
  4&lt;input type="radio" name="answer[3]" value="4"&gt; 3&lt;input type="radio" name="answer[3]" value="3"&gt; 
  2&lt;input type="radio" name="answer[3]" value="2"&gt; 1&lt;input type="radio" name="answer[3]" value="1"&gt; 
  &lt;/p&gt;
  </code></pre>
  
  <p>I know the answer can relate to the isset function but I don't know how to code it.
  Could someone possibly teach or help me out here?</p>