Hello to All!!!
I need to output a table with query data. If I do it with
cfscript, I'll have to write:
<cfscript>
writeoutput ("<div id = test><table border =0>");
writeoutput ("Here are my HEADERS of table");
for (x = 1; x LTE qMy.RecordCount; x=x+1) {
writeoutput
("<tr><td>#qMy.a#</td><td>#qMy.b#</td><td>#qMy.c#</td>.......</tr>");
}
writeoutput ("</table></div>");
</cfscript>
So I have to do:
1 for_loop and
3 writeoutputs.
Does this method faster then use <cfloop = query> or
simple <cfoutput> ?????
And what about "rules" for html tags, if I want to use
"cfscript output" for outputting html code?
Thanks for your answers!!!!