Preserve user input in text area on submission and recall?

I have a form that’s part of a basic CMS I’ve been developing following a tutorial and I’m after a method that would let a user type what they want, i.e.



But preserve that carriage return without having to input any code which isn’t particularly user friendly. When I do it by simple submission and then entry into a database it just seems to return it all as one long string.

Any advice or good tutorials?

The text area submits with the carriage returns as entered.

I think you may need to take your server-side code to an appropriate forum, such as the php forum so that they can work out why you’re losing the carriage returns.

Ok thanks

Thread continues in the PHP forum: