Morning all,
I have a database table that stores text content to appear on a webpage.
The user is allowed to edit the content using a textarea field.
How do I ensure that line breaks take effect?
e.g. The user might have numerous paragraphs to enter in the textarea so how do I ensure that after being stored in db table that they appear correctly in webpage? (should have <p></p> in view source.)
Thanks.
Kevin.