XF 2.0 How to detect new lines or "enters" when reading from the database?

Mave

Active member
I'm using a readonly database user to extract data from my forum and display it on a website.
Problem is: when a message on the forum has multiple lines, the php readout puts them all behind each-other.
Example:

Forum message with double enters: https://forums.themavesite.com/thre...-from-my-sons-school-today.39637/#post-271681
Result on website: https://themavesite.com/post/271681-jokes-i-got-a-phone-call-from-my-son-s-school-today

Any ideas on how to achieve the enters/new lines on the website as well?

Thanks!
 
Back
Top Bottom