I disabled HTML in a news posting script so people couldn't post HTML with the htmlspecialchars(); function, but at the same time I used the nl2br(); function so people could seperate lines in their post by just hitting the enter key.
When I disabled the HTML it made it so the nl2br(); function didn't work because that function just added <br> tags, which were disabled.
So, how would I go about disabling the HTML and at the same time making the lines still seperate?
thanx in advance for any help 🙂