sent email to member from db

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Pavlos1316
Forum Newbie
Posts: 6
Joined: Mon Jun 02, 2008 4:17 am

sent email to member from db

Post by Pavlos1316 »

Hi

I have a form that only members can submit..

When they do, what is the script to automaticaly sent them email with the info they submit?

I know how to sent the email cause I have it in my registration form.

What I need is how to choose the correct email from my db of the member that submits the form...???? :banghead:

Thank you
User avatar
deeessay
Forum Commoner
Posts: 55
Joined: Sat May 24, 2008 1:02 am

Re: sent email to member from db

Post by deeessay »

Hmmm.... upon login get the username of the user along with his/her corresponding e-mail, store it in a session variable and then use it when you send e-mail....

Is that what you're asking?
Pavlos1316
Forum Newbie
Posts: 6
Joined: Mon Jun 02, 2008 4:17 am

Re: sent email to member from db

Post by Pavlos1316 »

yes it sounds like what i want.

ANYONE KNOWS HOW TO DO IT?
Post Reply