Hey All,
I've been fooling around updating some code I wrote for a website a while ago and part of it involves an appplication.
So, the form submits to a php file in which I send off the data in an email. I'm trying to format it a bit with html, but have one small problem:
Spaces and exclamation points are placed in the middle of the text. Here's an example of what's happening:
[PHP]$emailBody.="<t r><td border=\"0\">Ho mePhone:</td><td border=\"0\"><b >";
$emailBody.="(" .$aHomeArea.") ".$aHomeT."-".$aHomeF;
$emailBody.="</b></td></tr>";[/PHP]
That code comes out:
HomePho! ne: 555-5555
Content-type is set as text/html, charset is utf-8, and encoding is base64.
Any suggestions as to whats going on here?
I've been fooling around updating some code I wrote for a website a while ago and part of it involves an appplication.
So, the form submits to a php file in which I send off the data in an email. I'm trying to format it a bit with html, but have one small problem:
Spaces and exclamation points are placed in the middle of the text. Here's an example of what's happening:
[PHP]$emailBody.="<t r><td border=\"0\">Ho mePhone:</td><td border=\"0\"><b >";
$emailBody.="(" .$aHomeArea.") ".$aHomeT."-".$aHomeF;
$emailBody.="</b></td></tr>";[/PHP]
That code comes out:
HomePho! ne: 555-5555
Content-type is set as text/html, charset is utf-8, and encoding is base64.
Any suggestions as to whats going on here?
Comment