Whoops, missed those embedded variables. <CFSET output="<table border='"&border&"' bgcolor='"&color&"'>"> <CFSET output=output&" <tr>"> <CFSET output=output&" <td>"> The first line is using the standard notation of not having pound signs (#) inside s string to be set. The other way is: <CFSET output="<table border='#border#' bgcolor='#color#'>">
> Do you mean this? Setting a string to a variable (called output) then appending new >text to the same string? > > <CFSET output="<table border='$border' bgcolor='$color'>"> > <CFSET output=output&" <tr>"> > <CFSET output=output&" <td>"> > > > whats an easy way to append a string to a string? > > > > I'm trying to do this: > > > > // php > > $output = "<table border='$border' bgcolor='$color'>"; > > $output .= " <tr>"; > > $output .= " <td>"; > > etc... > > > > . in CF. > > > > I don't want to use <cfscript> though. > > > > Thanks. > > > > > > > ______________________________________________________________________ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

