View Single Post
Old 12-04-2012, 07:06 PM   PM User | #15
Fou-Lu
God Emperor


 
Fou-Lu's Avatar
 
Join Date: Sep 2002
Location: Saskatoon, Saskatchewan
Posts: 15,653
Thanks: 4
Thanked 2,451 Times in 2,420 Posts
Fou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to all
</br> isn't a valid tag. There is no opening <br> tag for it, so with an XHTML doctype you would use a single sided tag which is <br/>. <B> doesn't exist in XHTML standards, but you can use <b>.

I won't follow links from work. If you mean that your string retrieved from storage should be broken into paragraphs on linefeeds, use this instead:
PHP Code:
printf('<p class="paragraph">%s</p>'implode('</p><p>'explode("\n"trim($paragraph)))); 
Fou-Lu is offline   Reply With Quote
Users who have thanked Fou-Lu for this post:
Eggweezer (12-04-2012)