I am not sure what you want to do, but you could try this:
$myText = nl2br($dataFromSubmittedTextBox);
Then $myText will have the correct values.
Cheers
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.237 / Virus
Hi all,
First I had a problem that text from a textarea form object passed to mail()
ended up as a single line of text in MS Outlook.
I changed the newlines to newlines _with_ carriage returns:
strtr($mailbody, "\n", "\r\n");
Now it's not a single line of text but every newline skips an extra
2 matches
Mail list logo