Ask a Question related to Coldfusion Database Access, Design and Development.
-
firedreams50 #1
format output from long field in Db
:confused;
can anyone tell me how to format a very long database field when output it to
page. everything works fine except it is one very long string and i'd like to
make it into several paragraphs. is there a way to put some break in the Db or
some nifty CF tag??
grateful in advance for any help.
firedreams50 Guest
-
VS2005 How to 'format' a long HTML Attribute
Hi. I have a vs2005 custom web control. It uses a designer inherited from ControlDesigner. The designer writes an XML value as a string property... -
JPG stored as long binary in database: how to write output as image in asp?
Hello, For a while I am working with ThumbsPlus ( http://www.cerious.com/ ) as manager for pics. The benefit of the program is that it stores... -
output jpg stored in database as long binary to asp: how?
Hello, For a while I am working with ThumbsPlus ( http://www.cerious.com/ ) as manager for pics. The benefit of the program is that it stores... -
Updating a Long VarChar field
Hi, I'm having problems to update a LONG VARCHAR field. Suppose I have a table with two fields (the key field named TheKey, and a long varchar... -
#15123 [Dup->Csd]: strtotime doesn't work with long date format
ID: 15123 Updated by: sniper@php.net Reported By: htheking at gmx dot de -Status: Duplicate +Status: ... -
OldCFer #2
Re: format output from long field in Db
Try putting <PRE> tags around it.
<PRE>
#LongText#
</PRE>
OldCFer Guest
-
firedreams50 #3
Re: format output from long field in Db
:D
thanks for the help!
someone had told me i should have my longtext field be all one long unbroken
line of text. but oyu're saying format it the way i want it to look on page and
then use the <pre> ?
firedreams50 Guest
-
kyle969 #4
Re: format output from long field in Db
You can add <br> (or any other html) to the string in the database.
Also, beforeyou insert the text into the Db you could use:
#Replace(long_text,chr(13),'<br>','ALL')#
kyle969 Guest



Reply With Quote

