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, 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 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
Archived
This topic is now archived and is closed to further replies.