php explode line break code example
Example 1: php explode new line
$values = preg_split('/\r\n|\r|\n/', $myString);
Example 2: php explode end
$url = explode("/", URL::current());
echo end($url);
Example 3: html line break
<!-- an HTML line break is a <br> tag. -->
<p>This is a paragraph <br> this will be on the next line as a br tag
is there before it.
A br tag is an empty tag as it doesnt contain any content</p>