OK, I've seen the posts about using nl2br() to add carriage returns into textarea entry. However mine is a slightly different problem. I would like to add correct < p > and < /p > tags around paragraphs.
Also, and just as importantly, I want to ad a newline at the end of say, every 80 characters, so that if the browser does a view source of the final output it will look tidy.
Any ideas? Thanks.
Also, and just as importantly, I want to ad a newline at the end of say, every 80 characters, so that if the browser does a view source of the final output it will look tidy.
Any ideas? Thanks.