I didn't want to have to ask this but I can't seem to get it working. I'm really new to PHP and have run into a problem. I have a form with a multiple select that is only passing the last value through. I searched through this forum and found some info, but I still haven't resolved it. Here's what I have in the form.
<select name="24x7Thoughts[]" multiple>
<option selected>- Select Option(s) -</option>
<option>Option A</option>
<option>Option B</option>
<option>Option C</option>
<option>Option D</option>
</select>
Then on the script I have...
$TwentyFourThoughts = $HTTP_POST_VARS['24x7Thoughts'];
and then later...
$mailcontent = $mailcontent."TWENTY FOUR SEVEN SUPPORT\n\n"
." ".$TwentyFour.", ".$TwentyFourExtra.", ".$TwentyFourThoughts."\n\n";
I apologize in advance if this is a really easy fix. Thanks for any help.
<select name="24x7Thoughts[]" multiple>
<option selected>- Select Option(s) -</option>
<option>Option A</option>
<option>Option B</option>
<option>Option C</option>
<option>Option D</option>
</select>
Then on the script I have...
$TwentyFourThoughts = $HTTP_POST_VARS['24x7Thoughts'];
and then later...
$mailcontent = $mailcontent."TWENTY FOUR SEVEN SUPPORT\n\n"
." ".$TwentyFour.", ".$TwentyFourExtra.", ".$TwentyFourThoughts."\n\n";
I apologize in advance if this is a really easy fix. Thanks for any help.