How to display this text, in textarea, to have a newline format
$val = "1234
Document (\ ' 5678\ ') ";
Echo ';
?>
------Optimal Solution--------------------
$val = " 1234Document (\ ' 5678\ ') ";
Isn't it a string above? Why don't you write this?
$val = ' 1234Document ("5678") ';
------Other Solutions--------------------
$val = " 1234
Document (\ ' 5678\ ') ";
There's a BR ~ ~ ~ ~
------Other Solutions--------------------
In short, it's
1234
Document (' 5678 ')
So a word, to be shown in the textarea, then I add escape, but, the error is mainly double quotation mark problem
.. Value= "\" \ ""
Escape single Quotes No problem, escape double quotes and outer double quote conflicts
------Other Solutions--------------------
Citation:
$val = " 1234document (\ ' 5678\ ')";
Isn't it a string above? Why don't you write this?
$val = ' 1234document ("5678") ';
It's hard to be here, can't change
1234
Document (' 5678 ')
Output as-is in textarea, and cannot be manifested.
Just like you entered this paragraph in the Textrea, the less than is less than the number, single quotation marks are single quotes, double quotation marks are double quotes,
How do you do that??
------Other Solutions--------------------
How to use JavaScript to
1234
Document (' 5678 ')
Output in textarea???