php split large text on line breaks into array code example
Example: php split large text on line breaks into array
#1
$arr=explode("\n",$text);
#2
$arr=explode("<br>",nl2br($text));
#1
$arr=explode("\n",$text);
#2
$arr=explode("<br>",nl2br($text));