Jonathan Villa wrote:
$msg .= "From: [EMAIL PROTECTED]
Content-Type: text/plain\r\n"
PHP is retaining the implicit linefeed in the text so there is a
blank line between From and Content-Type, the end-of-header indicator.
(You must have a dos-ish system.)
Change it to:
$msg .= "From: [
FYI:
is not same as . P is paragraph and br is just a line break of
the text. So, depending on your text format the lines broken twice might
(normally ARE but not too noticeably) look different.
try to mess with CSS and you'll see the difference about how browsers see
those both ways.
I
You'de be better off using the built in nl2br() function
(http://www.php.net/manual/en/function.nl2br.php) it'll have the same effect
as a it'll insert a tag everwhere a newline character occurs. Where 2
newline characters occur it will produce which in your HTML will
break your text in the sam
3 matches
Mail list logo