Jump to content

gathering info from listbox..


chelnov63

Recommended Posts

How i was just wondering, how do I gather the info selected in a list box on the php page to which the form is submitted..

 

e.g the form is:

 

<form action="add_contact.php" method="post">
<SELECT name = "contacts" MULTIPLE SIZE=5 >
<OPTION VALUE="o1">Option 1
<OPTION VALUE="o2">Option 2
<OPTION VALUE="o3">Option 3
<OPTION VALUE="o4">Option 4
<OPTION VALUE="o5">Option 5
<OPTION VALUE="o6">Option 6
</SELECT>
</form>

 

How would I gather which values were selected when the form is submitted..thanks in advance

Link to comment
https://forums.phpfreaks.com/topic/157940-gathering-info-from-listbox/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.