-
textarea content- display different format
Hi
I create table one file Content data type text, I stored text from <textarea>
The content stored same format in mysql, Now the issues, When I display that value in php, it is not display same format. Kindly let us know how we solve this problem.
Example : database value ( text test test
test test test
test test test tet)
But it display text : (text test test test test test test test test test)
we need same format. kindly help this.
Thank you
Balusamy
-
We need a little something more to go on. Code examples would be nice. If I was able to decipher your post, it sounds like you're loosing newline characters in the textarea. Personally, I've never experienced this. The textarea element is like the <pre> element in that it preserves white space. I can't think of any reason it wouldn't. Are you sure you're not stripping the '/n' newline character somewhere?
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks