I have a piece of code that adds to the variable $bodyver of an email. For instance
$bodyver .= \"${\"emp\".$i}\";
$bodyver .= \" ${\"name\".$i}\";
$bodyver .= \" ${\"allow\".$i}\";
$bodyver .= \" ${\"amount\".$i}\";
$bodyver .= \" ${\"sum\".$i}\n\";
}
mail($to, \"From: $from\", \"Verizon Plan\", $bodyver); // send the email
Then it is mailed to the address\' I specified. My problem is this: The body of the email has 5 fields and it has as many rows as the variable $i. But it is not pretty in the email. It is lined up in rows, but the columns are nasty. Is there any way to give the variable $bodyver a <tr> or <td> value. I have tried, and it blows up bad. I would just like to make the email legible. If you can help, I would be ever so thankfull