Selecting from Menu bar and showing in the text bax ???

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!

Moderator: General Moderators

Post Reply
szms
Forum Contributor
Posts: 101
Joined: Thu Jun 26, 2003 12:23 pm

Selecting from Menu bar and showing in the text bax ???

Post by szms »

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.
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

Moved to PHP - Normal - please take care to post in the most suitable forum.

Mac
Post Reply