Search
 
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
Name
2+8 =