![]() |
store HTML is a text field in a table on a MySQL Database
I am emailing a field from a MySQL DB table. The field type is text. Basically, it is an accept email. How can I make it so the email sent is capable of emailing HTML to make the message more attractive?
I have already tried to insert < html > into the text field, but that doesn't work....The received email, just diplays the text < html > and then the rest of the text. ANy suggestions? |
You need to set the Content-Type header to text/html.
|
Quote:
Do you mean in my php code? here is my code: :
if ($action == "decline") |
No. In your MySQL database, you should be able to change that field's Content-Type. Are you using any GUI to manage your data?
|
Quote:
|
Yes! I don't have PHPMyAdmin in front of me but when you edit your columns, you should see where you can change the Content-Type.
|
Quote:
|
Quote:
|
Quote:
|
I think you're look at the wrong option list. There should be another one, maybe it's file type?
|
| All times are GMT -5. The time now is 10:19 AM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC