Splitting up content with PHP

Posted by Jess McKenzie on Stack Overflow See other posts from Stack Overflow or by Jess McKenzie
Published on 2012-11-01T22:58:21Z Indexed on 2012/11/01 23:00 UTC
Read the original article Hit count: 568

Filed under:
|

I have content that is given by an XML feed that does not include line breaks.

Is there away using PHP that I could include line breaks to show paragraphs?

Current:

content content content content content content content content content content content content content content content content content content content content.content content content content content content content content

Needed:

content content content content content content content content content content content content content content content content content content content content.

content content content content content content content content

© Stack Overflow or respective owner

Related posts about php

Related posts about line-breaks