title: Edit Radio Button / Dropdown list
body: <p>I would like to edit and update a form. However, im not sure how to display the data from the dbase for radio button or drop down list.</p>
  
  <p>For example if its a input text field :</p>
  
  <p><code>
  Pages : &lt;input type="text" name="txtpages" id="txtpages" value="&lt;?php echo $rows['pages'];?&gt;" /&gt;
  </code></p>
  
  <p>How do i do this for a radio button/ drop down list?</p>
  
  <p>Lets say dis is my code :</p>
  
  <blockquote>
    <p>Media Type :</p>
  </blockquote>
  
  <pre><code>          &lt;select name="mediaList" id="mediaList"&gt;
              &lt;option selected="Selected"&gt;Physical Only&lt;/option&gt;
              &lt;option&gt;Digitized Only&lt;/option&gt;
              &lt;option&gt;Physical + Digitized&lt;/option&gt;
              &lt;option&gt;Digital Files&lt;/option&gt;
              &lt;/select&gt;
  
          &lt;/div&gt;&lt;/td&gt;
  </code></pre>
  
  <p>`</p>
  
  <p>Thank you.</p>