I have this code which has my HTML content in a sql db. When I get it and email it the email shows the HTML code like below. How can i get it to show in the HTML output??
<?php
$result10 = mysql_query ("SELECT * From mailing order by email_id desc limit 1");
$row10 = mysql_fetch_array($result10);
$subject = $row10[subject];
$to = 'email@email.com';
$headers .= "From: Feedback \n";
$headers .= "X-Sender: <email@email.com>\n";
$headers .= "X-Mailer: PHP\n"; // mailer
$headers .= "Return-Path: <remail@email.com>\n";
$message = $row10[body];
mail($to, $subject, $message, $headers);
echo "Sent HTML"
?>
<body bgcolor="#000000">
<div align="center">
<table border="0" width="460" id="table1" cellspacing="0" cellpadding="0">
<tr>
<td bgcolor="#FFFFFF">
<table border="0" width="100" id="table2" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF">