I have a <TEXTAREA> </TEXTAREA> form. When I post the form into a DB then retreive it to post it in html, there are no 'new lines', everything is run together.
You mean first line when you enter in the textarea has a tab character in front? Can you delete that tab? Could be from interpreting white space incorrectly. Have you tried putting the textarea start and end tag right next to each other? Like so:
That's what it was. In my PHP I had a '\n' after the first tag and a '\t' in front of the close tag. I usually like to keep the html clean for troubleshooting.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.