hey everyone, i have user type some info into a input textarea. How can I go by keeping the text format into paragraphs if the user ends up creating them cause when i store it in the db it comes out as 1 paragraph. any ideas?
nl2br()
thanks!
or use an online html editor as textarea 🙂
Or be even simpler and use the CORRECT function as specified by the w3c.
<pre> Your text Goes here And will keep all formatting. </pre>