Linebreaks

I am using chilisoft ASP on a linux server and using MySQL for the database side of things.I have a text area post on the site where several paragraphs have to be entered.

No problem so far,the only trouble is when retrieving the data,paragraphs have disappeared.Now I have seen a few different ways that supposedly cure this problem:

Strdescription = replace(RS("description"), "vbcrlf", "<br>")

Strdescription = replace(RS("description"), "chr(10)", "<br>")

Unfortunately none of these work. Now I am sure I am either coding this incorrectly or there is another very simple way of doing it.

View Replies


ADVERTISEMENT

Removing LInebreaks?!?

i have a SQL text field that has linebreaks in it, when i try to display the field in my java/asp script it doesn't work. so i'm thinking i need to replace my linebreaks with <Br>?
is that what i need to do? Code:

View Replies View Related

Linebreaks In VBScript Variables

I'm trying to format an email message. The message has line breaks in
it. How do I do this in VBScript?Is there anything like a heredoc?

$msg = <<this_msg;

anything
you want
here

this_msg

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved