How do I save user-entered line breaks from a HTML element to a database? It always removes the line breaks.
I just learnt to use php's nl2br function and it is working fine for me. I'm using it to style how my users receive an email when sent from another user.