Email to multiple recorset groups...revisited
I had gotten a form working (with help) that sent mail to different "teams" from a recordset using a multiple option list.
I am trying to use that idea now using multiple check boxes instead on a different form and again cannot get it to email any "teams" from the recordset.
I am using the same code to create a comma separated list from the old form near the top of the code...will that work now using check boxes? Is it still needed?
I'm also using the exact suggested custom recordset parameter from the old form.
SELECT * FROM usersTable WHERE team IN(paramTeam)
create a new variable as:
Default Value: -1
Run Time Value: $_POST['teams']
And each checkbox has a name of teams
I also had to use code to strip slashes on the old form and not sure if using checkboxes will create that same problem.
Attached is the page code and supporting UE file.
Thanks for any help