![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 | |
|
Professional Programmer
Join Date: May 2006
Location: UK - London
Posts: 330
Rep Power: 3
![]() |
All Combo Values into PHP VAR
hi
i seek advice in how to get all the values in a combo box into an php varaible if i use the post method then all i get is an single value, any help will be greatley appreciated. thanks.
__________________
Quote:
|
|
|
|
|
|
|
#2 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
You don't show any code, buy my guess is that you need to change the name on the HTML page from name="name" to name="name[]". Ask me about my crystal balls.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#3 | |
|
Professional Programmer
Join Date: May 2006
Location: UK - London
Posts: 330
Rep Power: 3
![]() |
okay thanx dawei i will try that.
so what about crystal balls?...lol....just kidding. actually i think i will try what you have suggested tommorow. thanks
__________________
Quote:
|
|
|
|
|
|
|
#4 |
|
Newbie
Join Date: Oct 2006
Posts: 20
Rep Power: 0
![]() |
is it a multi-select combo box?
|
|
|
|
|
|
#5 |
|
Newbie
|
array is the answer -- then cycle through the array based on its length to pull the values.
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| 3 language combo. | Nebula | Coder's Corner Lounge | 9 | Dec 19th, 2005 1:34 PM |
| Returning two values | Navid | C | 19 | Jun 13th, 2005 2:57 AM |
| Java Combo Boxes | Vengeance | Java | 0 | May 4th, 2005 9:02 AM |
| What are advantages of Data Combo and data list over simple combo and list box? | sham | Visual Basic | 1 | Apr 12th, 2005 4:11 AM |
| Problem Inserting Values into mySQL from PHP | stakeknife | PHP | 1 | Mar 23rd, 2005 8:45 AM |