Jump to content

[SOLVED] puting html into body of email


jakebur01

Recommended Posts

i want to put this (below) into the $message = " "; of my e-mail :

 

	   echo "<TABLE align=center width=650 BORDER=1 CELLSPACING=0 CELLPADDING=5>";

while ($myrow = mysql_fetch_array($result))
{
echo"<tr><TD WIDTH=160 align=center>";
//echo "<a href=\"maptest.php?id=".$myrow[id]."&productselect=".$productselect."&dname=".$dname."&displayimage=".$displayimage."&dealerinfo=".$dealerinfo."\"><img //src='../Images/globe.gif'/></a>";
//echo"</td><TD WIDTH=120><small>";
echo$myrow["orderid"];
echo"</td><TD WIDTH=160 align=center>";
echo$myrow["isbn"];
echo"</td><TD WIDTH=160 align=center>";
echo$myrow["item_price"];

echo"</td><TD WIDTH=160 align=center>";
echo$myrow["quantity"];

//echo"</small></td><TD WIDTH=30><small>";
//echo$myrow["Zip"];
//echo"</small></td><TD WIDTH=80><small>";
///echo$myrow["Phone"];
//echo"</small></td><TD WIDTH=10><small>";
//echo $value;
echo"</td>";
//echo "Zip code <b>$key</b> is <b>$value</b> miles away from <b>97214</b>.<br />";
//$dealerinfo = " You are $value miles away from this $dname dealer.";


echo"</tr>";

  }
echo "</table>";

 

How could I put the rows from this into the body of my mail?

Link to comment
https://forums.phpfreaks.com/topic/63920-solved-puting-html-into-body-of-email/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.