Folks,
I'm working with this mail function again. Unhappily. The mail message is created using data off of an html form using radio buttons, selects, text input, etc. The oddest thing is happening. Sometimes newlines are ignored. Where formated like this: $message = @<<<END This is field 1: $field1 This is field 2: $field2 This is field 3: $field3 This is field 4: $field4 END; Or like this: $message = "This is field 1:".$field1."\n"; $message .= "This is field 2:".$field2."\n"; $message .= "This is field 3:".$field3."\n"; $message .= "This is field 4:".$field4."\n"; The message might look like this: This is field 1: data This is field 2: data This is field 3: data This is field 4: $field4 The only think I could figure out to do was put a \t after $field2 to force the newline. Nothing else I did seem to work. The data doesn't appear to have trailing garage either. Any ideas? Margaret Michele
_______________________________________________ New York PHP Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk NYPHPCon 2006 Presentations Online http://www.nyphpcon.com Show Your Participation in New York PHP http://www.nyphp.org/show_participation.php