Hi Kirupians,
I’m guessing there’s something already on this but, and I’ve searched for it, but I wasn’t able to find it. I have a text box that I enter text into, like blog or forum posts for example. Then it is submitted to a PHP “parser” which goes through what was submitted and adds <b>'s and <h5>'s and <a>'s where necessary. I was wondering, how do I make PHP detect a new line and replace it with a <br />?