Hi hi hi hi hi, I could play with u like this all day .... 😃
First of all u can format the text when u enter it into db or u can format it after u extracted from db...
So if u want to replace line breaks with <br /> u can use nl2br(), if u what to see the <br /> tag in browser u can use htmlspecialchars(), when u use thoes functions is your choise ...
Have fun coding, I'm going to sleep. 😃