SQL query won't populate my drop-down box
<p>I have a problem with this query and drop down box:</p>

<pre><code>$ziua = "SELECT DISTINCT DAYOFMONTH(ziua) FROM rapoarte"; 

$ziuaResult = mysql_query($ziua);
</code></pre>

<p>Populating the drop down box :</p>

<pre><code>echo"&lt;td&gt;Selectati Ziua:&lt;/td&gt;    
&lt;td&gt;&lt;select name='ziua'&gt;     
&lt;option value='---'&gt;---&lt;/option&gt;";

while($ziuaRow = mysql_fetch_array($ziuaResult)) 
{    
    $ziua1 = $ziuaRow['ziua'];     
    echo "&lt;option value='$ziua1'&gt;$ziua1&lt;/option&gt;";
}
</code></pre>

<p>For an reason unknown to me, the drop down box is populated, but no values are shown. (there are  2-3 empty options)</p>
