Email 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
JF3000
Forum Newbie
Posts: 19
Joined: Tue Mar 01, 2005 2:54 am

Email Question

Post by JF3000 »

I have this line in php :

Code: Select all

case "_CONTACT": return "Email address here"; break;
Where is says email address here how do I add 3 email addresses and also text e.g. :

For Support email here
For Abuse email here
For Advertising email here

Thank you. I am new to php, so please don't use big or fancy words.

Thank you.

JF3000
Last edited by JF3000 on Tue Mar 01, 2005 3:17 am, edited 1 time in total.
User avatar
n00b Saibot
DevNet Resident
Posts: 1452
Joined: Fri Dec 24, 2004 2:59 am
Location: Lucknow, UP, India
Contact:

Post by n00b Saibot »

assuming you display the results, return HTML for what you want to display
e.g.

Code: Select all

case "_CONTACT": return "
For Support <a href='mailto:support@wetpants.com'>Email Here<a/><br>
For Abuse <a href='mailto:abuse@wetpants.com'>Email Here<a/><br>
For Adverts <a href='mailto:ads@wetpants.com'>Email Here<a/><br>
"; break;
JF3000
Forum Newbie
Posts: 19
Joined: Tue Mar 01, 2005 2:54 am

Post by JF3000 »

Thank you, I will give that a go.
JF3000
Forum Newbie
Posts: 19
Joined: Tue Mar 01, 2005 2:54 am

Post by JF3000 »

Thank you very much, it worked like a charm, first post, and already have been helped, I salute you for helping me. Much appreciated.
Post Reply