I've got a form that has a textarea within in. Everytime the form is submitted, I check if everything is ok and if not I'll show an error message and of course display whatever the user inputted before.
My problem is whenever I put a value in textarea, it displays an extra html tags which was not there before.
For example, the text area contains : first line\nsecond line
When I print it back it displays as "first line<br />second line"
I've tried many things to get rid of it, but It didnt work.
Can anybody help? Thanks.