select initial empty value
<p>hello
i have a dropdown which is working of sorts, however instead selecting the empyt selected value 'select an address' it always shows the last entry in the dropdown instead of the  empty selected value. i intially had help with code from another source but seem to have lost my way with it. where am i going wrong? many thanks</p>

<p>PS. sorry about the layout, but this is how it was layed out after pressing the code button.</p>

<pre><code>   &gt; $address_result = mysql_query("SELECT
    &gt; * FROM company_com ORDER BY address1_com ASC"); $dropdown =
    &gt; "&lt;select name='address'&gt;";  $dropdown
    &gt; .= "&lt;option SELECTED value=\"\"&gt;Select
    &gt; an Address&lt;/option&gt;";
while($row = mysql_fetch_assoc($address_result)) {
        $address = $row["address1_com"].$row["address2_com"].$row["address3_com"];

                   $dropdown .= "&lt;option SELECTED value='".$row['address']."'&gt;$address&lt;/option&gt;";

}
$dropdown .= "&lt;/select&gt;";
</code></pre>
