Joomla Code: Explode PHP string by new line

A very simple task but it ‘s easier if we can re-organize the code. In this post I want to save and share you guys a very easy way to explore the new line in PHP string what we can use for joomla code.

If you have to process the input from the blank text are and you want to display as readable HTML then you just need to use PHP function bl2br($string). You can check more detail in this link

But if you just want to explode into array to use then this will be perfect choice for you what work cross platform



Leave a Reply

Your email address will not be published. Required fields are marked *