Quick question

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
shiataz
Forum Newbie
Posts: 1
Joined: Fri Feb 20, 2009 11:01 am

Quick question

Post by shiataz »

I have a php script that auto responds to someone that fills out a form on my website and gives me their email. Can i make my script do seperate emails depending on the options picked (form has a list of check boxes and i would like to email them just txt like the autoresponder does but sends seperate emails depending on the boxes chosen. Ex. you choose box 2 and 4, script sends 2 emails with different txt depending on what those options were about.)

If someone knows how to do this can you give me an example or send me to some where i can download a script that has an example of this?
p3rk5
Forum Commoner
Posts: 34
Joined: Thu Jan 29, 2009 10:19 pm

Re: Quick question

Post by p3rk5 »

Yes, this is very possible. One of the easiest ways to do this would be to use the if... else statements
Post Reply