how to select a value from a listbox?

Posted by udaya on Stack Overflow See other posts from Stack Overflow or by udaya
Published on 2010-06-12T07:03:02Z Indexed on 2010/06/12 7:13 UTC
Read the original article Hit count: 134

Filed under:
|

Hi I am having a list box like this ,the list box is populated from the database

<td bgcolor="#FFFFCC">
<select name="listbox" id="FriendmailId" size="3" >
<option value="0">Select User From List</option>
<? foreach($searchfriend as $row)
{?>

<option value=""><?=$row['dEmailID'];?></option>
<? } ?>
</select>
</td>

The values are listed in the list box ....but the problem is when i select a item it is highted but not really selected why it is so

© Stack Overflow or respective owner

Related posts about php

Related posts about listboxitem