Forum Moderators: coopster

Message Too Old, No Replies

All Text Email - How do you add line-breaks?

         

kazisdaman3

9:19 am on Feb 28, 2007 (gmt 0)

10+ Year Member



Thanks for taking the time to help me,

Sending an all text email through php.

How do I put line breaks in the message, I was unable to google it

I know you can use "\n", but like, what else can I do, what is this stuff even called, language, so I can find out what the stuff does?

Thanks,
Wesley

dreamcatcher

11:34 am on Feb 28, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi kazisdaman3,

Try Googling for 'New Line Characters PHP'. You can also use \r\n which is a carriage return. I believe there are slight differences formatting on a Mac.

dc

kazisdaman3

3:47 am on Mar 1, 2007 (gmt 0)

10+ Year Member



Thank you DC, I appreciate it!