View Full Version : Not having to enter <br>

04-27-2006, 09:28 PM
First off, I couldn't find anything about this, I know I suck at searching so if you know a place where I can find the answer, great.

The question:

I created a "news system" for someone, but ofcourse you have to add <br> to the end of all sentences to tell the html a new sentence starts. How do I tell my script to automatically add a <br> whenever someone ends a line in a text area or skips a line in a text area?

04-27-2006, 09:31 PM

converts newlines to <br>s (or <br />s in more recent PHP versions)