Jump to content

[SOLVED] select showing up blanK?


darkfreaks

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.