Can anyone help me?
i need to print values as follows,
item_1000139
item_1000141 and so on… then
cat_1000139
cat_1000141
this is my code
<select name="txtpg" id="txtpg">
        <option value="Home">Home</option>
        <option value="Main">Main</option>
        <option value="Sub">Sub</option>
		<?php
		$sql_sel="SELECT itemID FROM items WHERE bitapproved=1";
		$res_sel=mysql_query($sql_sel);
		$arr_sel=mysql_fetch_assoc($res_sel);
		do{
		echo "<option value=item_".$arr_sel['itemID'].">item_".$arr_sel['itemID']."";
		echo "<option value=cat_".$arr_sel['itemID'].">cat_".$arr_sel['itemID']."";
		}while($arr_sel=mysql_fetch_assoc($res_sel));
		?>
      </select>
output is some thing like this…
item_1000139
cat_1000139
item_1000141
cat_1000141
 
      
    