close ad
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


Email to multiple recorset groups...revisited

Thread began 4/03/2012 5:05 pm by jtskr25 | Last modified 4/05/2012 3:13 pm by Jason Byrnes | 1349 views | 3 replies |


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:
name: paramTeam
Type: Text
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

Attached Files
Sign in to reply to this post

Jason ByrnesWebAssist

you will probably need to use the same code to strip slashes.

to help troubleshoot, change the following code:

$getTeams = mysql_query($query_getTeams, $spsptest) or die(mysql_error());


$getTeams = mysql_query($query_getTeams, $spsptest) or die(mysql_error());

echo("SQL: ".$query_getTeams);

this will write the query to the screen to help us see what is going wrong.

Sign in to reply to this post


I placed that code as suggested, and nothing showed on the page, it just displayed crazy on screen.

I placed the "echo" code within php tags on it's own at the bottom of the contact form and this is what it returned:

SQL: SELECT * FROM patroller WHERE team IN('-1')

Any thoughts?

Sign in to reply to this post

Jason ByrnesWebAssist

I have created a support ticket so we can look into this issue further.

To view and edit your support ticket, please log into your support history:

If anyone else is experiencing this same issue, please append to this thread.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...