Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to set outputs to a variable? 1

Status
Not open for further replies.

feshangi

MIS
Nov 24, 2004
265
US
can i write muliple outputs/lines to a variable?

example of my version of multiple outputs:

Code:
01/01/1988

letter ......

.....

...

thanks,

mike
 
cfcontent will save large blocks of html / data to a variable. usefull for saving to a file.


 
thanks but how can i set the cfcontent to a variable?
 
little problem:

is there any way to not save <BR>s and <P>s with cfsavecontent and simply have plain text as variable?
 
assuming content is your cfsavecontent variable name
<cfset content = replace(content, "<br>", " ", ALL)>
<cfset content = replace(content, "</br>", " ", ALL)>

probably a better method out there.

 
there are more other tags than just <BR>s and <P>s. I don't think replace() is a good choice in my case. thanks again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top