hi, i am currently working on a private messaging system for my site. right now i have text input for the 'reciever' field:
i am trying to change this to a dropdown menu which will allow the user to select 'reciever' from a list in the dropdown, but im having trouble populating it.Code:<tr> <td width="150px" align="left" valign="top"><p>Username</p></td> <td width="" align="left" valign="top"><input name="username" type="text" id="username" value="<?php echo "$reciever"; ?>"></td> </tr>
this is how it looks just now:
any ideas? all help appreciated!Code:<SELECT NAME="username" value="<?php echo "$reciever"; ?>"> <OPTION VALUE=0>Choose <? echo $rows['username']?> </SELECT>



Reply With Quote
Bookmarks