Forum Moderators: coopster

Message Too Old, No Replies

PHP email message line breaks

Mine won't break?

         

m2c1r

12:23 am on Apr 5, 2006 (gmt 0)

10+ Year Member



This could easily be (probably is) something simple, but I can't get any line breaks to show up in my outgoing php emails.

I've tried

$message = " blah blah\n blah blah ";

and

$message = " blah blah\r\n blah blah ";

neither of which is working.

What am I doing wrong (besides knowing next to nothing about writing php files)?

dreamcatcher

7:12 am on Apr 5, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Are you doing HTML formatted e-mails or plain text? If HTML, you`ll need a HTML line break.

$message = " blah blah<br>blah blah ";

dc