Forum Moderators: open
My script is designed to take one variable, with commas separating places:
How can I use multiple SELECT boxes and end up with this single variable & commas between locations? Is there another approach I should look at?
Thanks for your help! :)
IMHO best practice would be to name all three SELECT boxes "place[]". Then, when the form is submitted, you will have a single variable, $_POST["place"], which is an array of the values.
;)