Copy link to clipboard
Copied
Hi all,
I am designing a site for a local club which creates reports from search criteria. The customer wants to add a checkbox to each item of a given search result list which gives the option of emailing the checked boxes.
ie after running a search for managers who have passed a certain certification, I have a list of 5 names
1. bloke
2. woman
3. another
4. one more
5. last one
I need to add a check box which when ticked, and button pressed, it sends the email addresses to outlook or even a php script?? where I can write an email to all the selected people only?
Any ideas on where to start bacause i'm a little stumped?
Copy link to clipboard
Copied
I don't write php, but the concept is the same with any scripting language:
1) Include a checkbox with the search results. Be sure to include a name attribute that uniquely identifies the item.
2) Put the results within an html form
3) Have the form processing script iterate through the fields and either
a) add the relevent email address to a bcc: field and send the email, or
b) send a seperate email for each address in the list