How to change the label shown in static dropdown
<p>I want to change a static dropdown for gender but it is not working. Here is my code:</p>



<pre><code>&lt;select id="gender" name="gender" value="&lt;?php echo $row['gender'];?&gt;" &gt;
    &lt;option value="&lt;?php echo $row['gender'];?&gt;" &gt;Select Gender&lt;/option&gt;
    &lt;option value="male"&gt;Male&lt;/option&gt;
    &lt;option value="female"&gt;Female&lt;/option&gt;
&lt;/select&gt;
</code></pre>

<p>The value is printing in console but not in the UI where it is displaying as <code>SELECT GENDER</code>, though I need to display output with dropdown.</p>