Page 1 of 1

Email Question

Posted: Tue Mar 01, 2005 3:07 am
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

Posted: Tue Mar 01, 2005 3:16 am
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;

Posted: Tue Mar 01, 2005 3:18 am
by JF3000
Thank you, I will give that a go.

Posted: Tue Mar 01, 2005 3:48 am
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.