noon Posted August 31, 2007 Share Posted August 31, 2007 I was attempting to achieve the story being displayed with each new line being a paragraph. Instead of writing my own function I just used nl2br(nl2br($story)) which was much easier on the eyes. Seems a little hackish in a way. I could write my own nl2indentedparagraphs function . I was just wondering if you clever people had any other ideas/approaches you would take. Thanks, Quote Link to comment https://forums.phpfreaks.com/topic/67463-read-article-from-db-and-format/ Share on other sites More sharing options...
Barand Posted August 31, 2007 Share Posted August 31, 2007 http://www.w3schools.com/css/tryit.asp?filename=trycss_text-indent Quote Link to comment https://forums.phpfreaks.com/topic/67463-read-article-from-db-and-format/#findComment-338929 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.