Forum Moderators: coopster

Message Too Old, No Replies

receiving email not in plain text

email body echo <a href etc...

         

henry0

7:18 pm on Feb 23, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I am stock with a little annoyance

My DB data has a link such as: <a href=” etc...

If I echo it in a web page the link works fine

But I need to duplicate it by generating a confirm email
That pulls the same data from the DB
Works fine but the email result displays the complete html code instead of executing it

I mean the user got
<a href=” etc...
Instead of a clickable link
It also comes in plain text

What can I do?

Thank you

Timotheos

7:35 pm on Feb 23, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi henry0,

It's all in how you set up the headers. Check out the php manual example #4 [php.net].

Tim