PDA

View Full Version : Selecting from Menu bar and showing in the text bax ???


szms
Thu 17th Jul '03, 3:38pm
Hi I am trying to selsect some items from a menu and then trying to show those in a text box. Here is my code for menu:

<select name = "InputDomainMenu[]" Multiple>
<?php
foreach ($Domain_Name as $Existing_Item)
print " <option value=\"$Existing_Item ">$Existing_Item</option>";
?>

What would be the code for text box so that when ever I will select some of the items from menu, those will be appeared in the text box consecutively. Thank you.