|
-
Mar 19th, 2007, 11:32 AM
#1
Thread Starter
Addicted Member
[RESOLVED] HTML TextArea and SQL TEXT data type (Multiline problem)
Hi guys,
I'm using a textarea to allow entry of multiline comments, and I save them to a MySQL table into a field that is of type "TEXT".
When I wish to display (using ECHO) the contents of that field in a different page, it seems to drop all the carriage returns and linefeeds. Thus it's all displayed on a single line.
Could someone please direct me to some code that shows how to do this correctly?
Cheers,
Nap
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
|
Click Here to Expand Forum to Full Width
|