title: Radio Buttons & Sessions, how to get value and use as a session variable
body: <p>How would i get the value of a radio button and use that in my session so for example;</p>
  
  <pre><code>&lt;input type="radio" name="minor" id="minor" group="underage" class="minor_yes" value="yes" /&gt;Yes&lt;br /&gt;
  &lt;input type="radio" name="minor" id="minor" group="underage" class="minor_no" value="no" /&gt;No&lt;br /&gt;
  
  &lt;div class="underage &lt;?= isset($_SESSION['minor']) ? "style=\"display: block;\"" : "style=display: none;\"" ?&gt;"&gt;
              &lt;label&gt;Guardian 1&lt;/label&gt;
              &lt;input type="text" name="guardian1" id="guardian1" value="&lt;?php echo stickyText('guardian1');?&gt;" /&gt;
              &lt;label&gt;Guardian 2&lt;/label&gt;
              &lt;input type="text" name="guardian2" id="guardian2" value="&lt;?php echo stickyText('guardian2');?&gt;" /&gt;
          &lt;/div&gt;
  </code></pre>
  
  <p>as you can see the code calls the name "minor" but even if NO is selected it will still show the div, regardless of the value, i need to pass the value into my isset($_Session['minor']) parameter, how would this be achieved ?</p>