darkfreaks Posted May 19, 2008 Share Posted May 19, 2008 anyone got any ideas ??? Code: <select name="combine1" size="1" style="font-family: Verdana; background-image: url(''); border: 1 solid #008000"> <?php $list_items=mysql_query("SELECT id,owner,item_id FROM useritems2 COUNT(*) as total HAVING total > 1 ORDER BY TOTAL DESC") or die (mysql_error()); while($fetch_items=mysql_fetch_array($list_items)){ $ii=mysql_query("SELECT item_name FROM items2 WHERE id='$fetch_items[item]'")or die (mysql_error()); $ii=mysql_fetch_array($ii); $ii=$ii['name']; ?> <option value=<?php echo$fetch_items[id];?>><?php echo$ii;?></option> <?php}?> </select> Link to comment https://forums.phpfreaks.com/topic/106248-solved-select-showing-up-blank/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.