MarkT Posted January 24, 2014 Share Posted January 24, 2014 Hello, I'm trying to fetch email addresses from a database, which I'm using a MYSQLI Select for. I want to select email addresses based from a form, and then send an email to those addresses, can anyone provide code? How to echo those addresses in the 'to' part of PHP Mail. Link to comment Share on other sites More sharing options...
Don Jajo Posted January 31, 2014 Share Posted January 31, 2014 I'm trying to fetch email addresses from a database, which I'm using a MYSQLI Select for. AND I want to select email addresses based from a form, and then send an email to those addresses, Am not really getting you, which one do you want? Link to comment Share on other sites More sharing options...
thescientist Posted January 31, 2014 Share Posted January 31, 2014 (edited) Likely he wants to get the WHERE clause of the query from a form. As in, select a user from a dropdown on a form for example, and then it would send an email to that user, as opposed to having all the email addresses available on the site itself. To the OP, where is your code? What have you tried and what are you stuck on? Edited January 31, 2014 by thescientist Link to comment Share on other sites More sharing options...
Don Jajo Posted February 1, 2014 Share Posted February 1, 2014 Oh Now i grab, yea show us where you are hooked in your code Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now