After my test form textarea line break, under Windows is RN, in Linux is N (this is not real
In addition, R,n has a line-wrapping function under win.
Table 6-1. Escape character
Sequence
Meaning
N
NewLine (LF or ASCII characters 0x0a (10))
R
Enter (CR or ASCII character 0x0d (13))
T
Horizontal tab (HT or ASCII character 0x09 (9))
Reverse Slash
$
Dollar sign
”
Double quotes
[0-7] {1,3}
This regular expression sequence matches a character represented by an octal symbol
x[0-9a-fa-f]{1,2}
This regular expression sequence matches a character that is represented by a hexadecimal symbol
Summary: A lot of friends say in TextArea line code n is so Str_replace ("n", "<>< p=""><>
/> "), but actually this is not the window standard line, we should change into str_replace
("Nr", "
"So it's KO.
http://www.bkjia.com/PHPjc/632330.html www.bkjia.com true http://www.bkjia.com/PHPjc/632330.html techarticle after my test form textarea line break, under Windows is RN, in Linux is N (this is not measured), in addition, in the win, R,n have a line-wrapping function table 6-1. Escape character sequence meaning n line break ...