title: How to retrive and update radio button's data from mysql database?
body: <p>CODE am trying:</p>
  
  <pre><code>&lt;input type="radio" name="type" value="Male" &lt;?php if ($type == 'Male') echo 'checked="checked"'; ?&gt;"&gt; Male
  </code></pre>
  
  <p>OR</p>
  
  <pre><code> &lt;input type="radio" name="gender" value="&lt;?php echo $gender ?&gt;"/&gt;Female
  </code></pre>
  
  <p>This one is right ?? </p>
  
  <p>i refer 2 links in SO but m not getting properly with radio button .... 
  Suggestions always Welcome ...   </p>