July 24, 201115 yr Heya, Pretty simple question! I have a field in my MySQL database which is the post content from a phpbb forum. I want to display this on an external site. So, quite simply I query the database to find the post I want. Once I have this, I store it in a variable. Which then I echo it back where I want. The problem I am getting is this: If the post the person made, has line breaks like this: This is some text. And this is a line break. It will get stored in the database with a line break. Although when I echo it back out, it appears like this: This is some text.And this is a line break. Does anyone know of any way, where I can get it exactly the same format as it is on the post? Cheers
Create an account or sign in to comment