From this code the values are added, but the values are pasted on the same location of the dropdown box, for eg: Location1:Mango,Apple, etc. how to add the values on the same dropdown box & how to do the allocation dropdown box.
code:
<select name="dropdown" >
<option value="">-See Here- </option>
<?php
do {
?>
<option value="<?php echo $tb1; ?>"><?php echo $tb1; ?></option>
<?php
} while ($tb1 = mysql_fetch_assoc($tb1));
$rows = mysql_num_rows($ADD);
if($rows > 0) {
mysql_data_seek($ADD, 0);
$tb1 = mysql_fetch_assoc($ADD);
}
?>
</select>