About php processing textarea carriage return replacement method (js call error ). About the php Tutorial processing textarea carriage return line replacement method (js call error) in the textarea input box chr (13) represents the carriage return, but when I replace it, it can indeed be the characters I want, but his php Tutorial on handling textarea carriage return replacement method (js call error)
In the textarea input box, chr (13) represents the carriage return. However, when I replace it with another character, there is a space in the place where the carriage return is displayed,
After repeated debugging, there is a n, which should be the carriage return of the database tutorial or program.
-->
If ($ _ post)
{
$ Textarea = str_replace ("n", '', str_replace (chr (13),'', $ _ post ['textea ']);
Echo $ textarea;
}
?>
Callback (js call error) in the textarea input box, chr (13) represents the carriage return, but when I replace it, it can indeed be the character I want, but he...