I made a drop down menu and am trying to edit it but it only loops 1 times
PHP Code:<?php
do{?>
<tr>
<td>
<select name="unit[]" id="unit">
<option value="0">select</option>
<?php
do{?>
<option value="<?php echo $row_container_unit['id'];?>"
<?php if($row_container_unit['id']==$row_inland_operation['id']) {?>selected='selected'<?php }?>>
<?php echo substr($row_container_unit['name'],0,20);?> </option>
<?php }while($row_container_unit = mysql_fetch_assoc($container_unit));?>
</select>
</td>
</tr>
<?php }while($row_inland_operation=mysql_fetch_assoc($inland_operation));?>
So its only giving me the first value
but it doesn't show me the rest
any help????







Bookmarks