PHP Question on formatting Form Mail (I'm a rookie)
Posted: Fri Jun 03, 2005 9:10 am
Using the following code how would I
1) bold the $Field (when it's being send in email)
2) make it print more than one field on the same line (could I stick that into a character per line check?)
1) bold the $Field (when it's being send in email)
2) make it print more than one field on the same line (could I stick that into a character per line check?)
Code: Select all
<?php
foreach ($_POST as $Field=>$Value)
{
if(!empty($Value)){$MsgBody .= "$Field: $Value\n";}
}
?>