jakebur01 Posted August 8, 2007 Share Posted August 8, 2007 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? Quote Link to comment https://forums.phpfreaks.com/topic/63920-solved-puting-html-into-body-of-email/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.