Jump to content

How to format text from sql query


aquatsr
 Share

Recommended Posts

I have some text in a TEXT attribute field in my database, and it's inputed like:

ParagraphParagraphParagraph

However when I get the $data from the field and do echo ("$data");I get:

ParagraphParagraphParagraph

How do I make sure there are the line breaks in the correct places?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...