|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
How would you go about displaying results from a mutiple select box?
<select name="services[]" size="7" multiple id="services"> The code above puts it all in an array but how would I format the php to actually print the array with a comma inbetween each selection? selection1, selection2, etc. Thanks! |
|
#2
|
|||
|
|||
|
This should do the trick:
PHP Code:
__________________
__________________________________________________ _ Wil Moore III, MCP | Integrations Specialist | Senior Consultant Are You Listed...? | DigitallySmooth Inc. |
|
#3
|
|||
|
|||
|
Thanks!
Thanks laidbak that worked like a charm and in just one line of code - I love that!
|
|
#4
|
|||
|
|||
|
No problem at all.
What really helps me is that whenever I learn a new language I really focus first on how to work with arrays, assignment operators, and strings. File handling and other such functions are usually quite similar in all languages I've found. Glad I could help |
![]() |
| Viewing: Dev Articles Community Forums > Programming > General Programming Help > Displaying Multiple Form Selections |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|