Hey guys, just wondering if any of you have any ideas how I could do this quickly and easily.
I'll be taking input from a form, a textarea, and placing it into a db, then extracting it later into a list. I want it to keep whatever line breaks the typer places in it when it's put into the db and extracted back out into html. Just like a forum does.
Whats the easiest way to do this in ASP/VBScript?
I'd prefer to convert all line breaks to <br>'s on the server side before I place the text in the db, that way it'll be preformatted when I pull a list and I won't have to fiddle with the output.
Question
mucter
Hey guys, just wondering if any of you have any ideas how I could do this quickly and easily.
I'll be taking input from a form, a textarea, and placing it into a db, then extracting it later into a list. I want it to keep whatever line breaks the typer places in it when it's put into the db and extracted back out into html. Just like a forum does.
Whats the easiest way to do this in ASP/VBScript?
I'd prefer to convert all line breaks to <br>'s on the server side before I place the text in the db, that way it'll be preformatted when I pull a list and I won't have to fiddle with the output.
Thanks for any help.
Link to comment
Share on other sites
7 answers to this question
Recommended Posts