|
-
Feb 15th, 2003, 10:45 PM
#1
Thread Starter
PowerPoster
Saving a multiline textbox into db with html formatting?
I am creating a user forum, much like these ones. I am having a little problem though.
When you type in your reply or new post, the newlines get lost when saving the text to the db (SQL Server 2000, text field). I want to be able to insert <br> tags for the newlines, but don't know how to go about it. Any suggestions?
Example of what I mean:
The empty lines between the paragraphs in this post, they don't show up when I save them to the db in my forums.
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
|