title: Default radio button selected but it is not working for image
body: <p>I have created a default radio button but it is not loading image on page.
  Here is my radio button.</p>
  
  <pre><code> &lt;div class="radio"&gt;
                  &lt;label&gt;&lt;input type="radio" name="level" value="B1" checked&lt;?
     php if (isset($_POST[ 'level']) &amp;&amp; $_POST[ 'level']=='B1' )?&gt;onclick="this.form.submit()"&gt;Basement 1&lt;/label&gt;
                  &lt;/div&gt;
  </code></pre>
  
  <p>When I'm loading the page it is clicking on Basement1 as default value but not loading image.</p>
  
  <p>And here is my code for image loading:</p>
  
  <pre><code>&lt;div class="col-md-7"&gt;
      &lt;img src="image/&lt;?php echo $val1 ?&gt;" alt=&lt;?php echo $level ?&gt; width="100%" height="100%"&gt;
      &lt;/img&gt;
  &lt;/div&gt;
  </code></pre>