Good Day!
I would like to ask how can I retain the value of my drop down box when I edit it.
in my form
<tr>
<td><strong>*Die Type:</strong></td>
<td>
<?php
$query = "SELECT * FROM idie_type_tbl" ;
$result = mysql_query($query);
echo'<select name="die_type" class="textfield">';
while($row = mysql_fetch_assoc( $result )) {
echo '<option value="'.$row['die_type_id'].'">' . $row['die_type'] . '</option>';
}
echo '</select>';
?>
</td>
same also in my edit.php script. how can I retain the value of my database driven drop down box in edit.php
thanks..