Jump to content

Display data with new line char


glenelkins

Recommended Posts

Hi

Say I have a bunch of text in the database that is simply just text with line breaks to seperate paragraphs. How can i display this on the webpage to show exactly as the text is typed. At the moment without HTML tags in there it comes back as one long stream of unformatted text
Link to comment
https://forums.phpfreaks.com/topic/31097-display-data-with-new-line-char/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.