i have an html form with a text area. when use get or post to retrive the info the text is not correctly formatted meaning. the begining of new paragraphs are not working and indents either. it is just one big sentence.

Recommended Answers

All 2 Replies

have u tried nl2br() ???

hmm ... are you sanitising the user input at all?
I am currently looking at using text areas and trying to get my head around the best way to format, sanitise and strip all the input.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.