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!
I have a form with a select field that alows multiple selections. How do I get all of the selected info when the form is posted?
I've tried this but got an error:
Hmm..shouldn't do, if you have name="StateDesired[]" in the form, then it comes in as an array. The if(!empty checks to make sure 'something' was selected, and the join operates on the StateDesired array.
Maybe post a snippet of your code? (including the select form element)