Hey everyone, I'm using the php function nl2br() to display some characters on a page from a textarea. I'm storing the text into the database exactly as it is entered, and then only using the nl2br() when displaying it on a page.
Should I do it the other way around? Should I use nl2br() before I store it to the database, so it is stored that way, or should I just do it how I'm doing it? It really doesn't matter to me, I was just wondering if there is a proper, more recommended way to do it.