This was key for me to learn. My strings for plain text output look like this sometimes: $myText = 'Foo. Bar.'."\n\n"; note that the \n are enclosed in double quotes. with single it just don't work. On Mon, Apr 6, 2009 at 9:30 AM, Symeon Charalabides <symeon at systasis.com> wrote: > It sounds like you're using single, instead of double, quotes to enclose your line breaks. Using double quotes should fix that. > > Also, you may have to use \r\n instead of simply \n for some windows-native email clients, but don't quote me on this. > >> I am writing a plain text email feedback script and can't seem to get line >> breaks. >> >> I have tried /r, /n, \r, \n, //r, //n, %0D%0A … Everything gets printed as >> is (except in the case of double slashes, in which case one of them gets >> escaped). As far as I can see there is no PHP equivalent to writeln or >> writeLine, which is irritating. > > Symeon Charalabides (cosmopolite trainee) > ----------------------------------------- > http://www.systasis.com > http://twitter.com/bluesymeon > http://www.linkedin.com/in/symeon > http://www.last.fm/user/bluesymeon > -- > > * * Please support the community that supports you. * * > http://evolt.org/help_support_evolt/ > > For unsubscribe and other options, including the Tip Harvester > and archives of thelist go to: http://lists.evolt.org > Workers of the Web, evolt !