PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
<select name="uid[]" size="5" multiple="multiple">
<?
while($gtusers = mysql_fetch_assoc($getusers)){
?>
<option value="<?=$gtusers['id'];?>" <?=(isset($_POST['uid']) && $_POST['uid'] == $gtusers['id'] ? "selected=\"selected\"" : "");?>><?=$gtusers['username'];?></option>
<?
}// end while for result set...burrito
?>
</select>
need to show all of the options selected I do when submitted is the form. need to strip out of the array all of the values I do, know how I do not right now....