I want a "real" break.
I want to place a hard line return in some coldfusion output from a dynamic
table.
Here's the code:
<div align="left" class="style5">
<table width="22" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="corpcal">#cal.People#</td>
</tr>
</table>
</div>
I think I should be using the "wrap" function, but I must be doing it wrong,
or else it behaves differently within this cfml table for some reason.
Any help would be appreciated.
smburc - 13 Dec 2005 19:34 GMT
You should wrap your <tr> tags in an output query. The ouput query will loop
over all of the records in the query results and run all of the code between in
the CFOUTPUT tag.
Something like this:
<CFOUTPUT query="QueryName">
<tr>
<td>#People#</td>
<tr>
</CFOUPUT>