Welcome Guest, Not a member yet? Register   Sign In
n character added in html emails
#5

[eluser]CroNiX[/eluser]
Code:
$this->email->message(nl2br($text_of_your_email));

And, your "n"s are actually added by you, whether you realize it or not. They are invisible new-line control characters, which get entered whenever you hit the return key, such as in a textbox. Every single text document you write has them. Open any of your docs in a text editor that shows invisible characters and you will see them at the end of each line, or wherever you've hit enter/return. If they weren't there, the text in your document would be contained on a single line.


Messages In This Thread
n character added in html emails - by El Forum - 06-16-2012, 03:43 AM
n character added in html emails - by El Forum - 06-16-2012, 04:43 AM
n character added in html emails - by El Forum - 06-16-2012, 06:04 AM
n character added in html emails - by El Forum - 06-16-2012, 07:03 AM
n character added in html emails - by El Forum - 06-16-2012, 10:01 AM
n character added in html emails - by El Forum - 06-16-2012, 10:05 AM
n character added in html emails - by El Forum - 06-16-2012, 10:32 AM
n character added in html emails - by El Forum - 06-16-2012, 12:13 PM
n character added in html emails - by El Forum - 06-16-2012, 09:00 PM



Theme © iAndrew 2016 - Forum software by © MyBB