Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php split large text on line breaks into array

#1
$arr=explode("
",$text);

#2
$arr=explode("<br>",nl2br($text));
 
PREVIOUS NEXT
Tagged: #php #split #large #text #line #breaks #array
ADD COMMENT
Topic
Name
1+8 =