Collect Multiple selections from Drop down then post
Posted: Mon Nov 20, 2006 4:12 am
Hello
I have a dropdown box populated with a list of names
I would like the user to select a value then "Add Member", select another value then "Add Member" etc etc, until the user has selected all the names he wishes. The id ="Project_Members" would contain all the values selected seperated by a ";" Example "Bill;Ben" etc
Thanks
Geoff
I have a dropdown box populated with a list of names
Code: Select all
<td>Project Member Select</td>
<td align="left">
<?
echo"<select name=\"Project Member Select\">";
while($row=mysql_fetch_assoc($my_query3))
{
echo "<option value=\"".$row['Name']."\">".$row['Name']."</option>";
}
?>
</td>
<td><input type="submit" name="Submit" value="Add Member"></td> //<<<<THIS LINE IS A GUESS,THINK I NEED IT TO POST TO ITSELF
</tr>
<tr>Thanks
Geoff