How do i retrieve information from a database and display certain information as the first option in a menu among other options. I want to edit information in a database using the menu like:
<select name="items" id="items" >
<?php
while($product_rows=mysql_fetch_assoc($productSQL)){ ?>
<option value="<?php echo $ord_rows['pid'];?>">
<?php echo $ord_rows['name'];?>
</option>
<?php } ?>
</select>
but this jst gets all the options from the db. I want the option am editing to appear as the first one and the rest follow, Any help, hope the question is clear.