•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the PHP section within the Web Development category of DaniWeb, a massive community of 422,984 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,959 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our PHP advertiser: Lunarpages PHP Web Hosting
Views: 3096 | Replies: 1
![]() |
•
•
•
•
Originally Posted by sac_bid24
How to pass the values of combo box options from one page to other page
Use the php array notation for the name of the select box.
eg:
<select name="myselectbox[]" multiple="true">
<option value="0">Value 0</option>
<option value="1">Value 1</option>
</select>
Notice the name of the select box is myselectbox[].
This makes sure that the selected options are passed as an array to php.
You can use this notation for any form elements. Its required for multiple select boxes and multiple checkboxes.
www.fijiwebdesign.com - web design and development and fun
Cpanel Email - Let users Register email accounts on your website upon registration
Ajax Chat - Fully browser based chat!
Cpanel Email - Let users Register email accounts on your website upon registration
Ajax Chat - Fully browser based chat!
![]() |
•
•
•
•
•
•
•
•
DaniWeb PHP Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- Combo box and Ms-access (JSP)
- Combo box problem (Java)
- Combo box selection problem (VB.NET)
- cdo using combo box in my form (ASP)
- combo box (PHP)
- Want to use radio button or menu bar instead of combo box (Java)
- combo box (ASP)
Other Threads in the PHP Forum
- Previous Thread: Running PHP scripts in backround
- Next Thread: template/website/script required


Linear Mode