select recipients using checkboxes

the mail() function

Moderators: egami, macek, gesf

Post Reply
andythepict

Tue Jul 17, 2012 4:13 pm

i have a query that tells the user how many people in the database supply different services. (ie do you supply a, b, c, etc.)
i would like the user to be able to use checkboxes to choose a or/and b, or/and c and email the people in the database that supply a,b,c etc.... (architects, builders etc. some people may only want certain services, some may want all)
please help, this is driving me mad! i have phpmailer, but that's just making me more confused!
i've included a pic of my database.
thanks in advance!
Attachments
table-structure.jpg
table-structure.jpg (61.83 KiB) Viewed 727 times

Post Reply