format string in email
Posted: Wed Nov 18, 2009 7:58 am
Hi,
I have the message body of an email with the variable below:
$message = $customername." ".$customeraddress."<br/>".$telnumber."<br/>".$faxnumber."<br/>".$email."<br/>".$emailinv."<br/>".$autsig."<br/>".$position."<br/>".$date."</body>"."</html>";
I want to format the output so that each variable is printed on the next line but in my email I can see the markup outputted.
Sorry this is an incredibly simple thing to ask. It is my first post though so be gentle!
Andy
I have the message body of an email with the variable below:
$message = $customername." ".$customeraddress."<br/>".$telnumber."<br/>".$faxnumber."<br/>".$email."<br/>".$emailinv."<br/>".$autsig."<br/>".$position."<br/>".$date."</body>"."</html>";
I want to format the output so that each variable is printed on the next line but in my email I can see the markup outputted.
Sorry this is an incredibly simple thing to ask. It is my first post though so be gentle!
Andy