DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
php textarea replace newline with br
$open
=
str_replace
(
PHP_EOL
,
"<br>"
,
$_POST
[
"open"
]
)
;
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#php
#textarea
#replace
#newline
#br
ADD COMMENT
Topic
COMMENT
Name
3+1 =
Submit