I'm having an edit form and within a dropdown box with movie-titles. One of them should be selected though, so say DVD_id: 100. How do I make this work in the code below?
<div class="form-group">
<label for="Site name" class="col-md-4 control-label">DVD Title</label>
<?php
$query = "Select DISTINCT dvd.dvdname, dvd.dvd_id, FROM DVD where ORDER BY dvd.dvdname";
$result = mysql_query($query) or die ("Couldn�t execute query.");?>
<div class="col-md-8">
<select id="box" name="dvdtitlefield" class="selectpicker form-control" multiple title="Choose one of the following..." >
<?php
while ($row = mysql_fetch_assoc($result))
{
extract($row);
echo '<option value="'. $dvd_id .'">'. $dvdname .'</option>';
}?>
</select>
</div>
</div>