Understanding <CFTABLE>

ColdFusion provides a quick-and-dirty way to display query results with its <CFTABLE> tag. <CFTABLE> offers only a limited set of display features as compared to HTML tables, but it's by far the easiest and fastest way to display output data in tabular format. You simply specify the variables you want displayed and supply a few parameters. <CFTABLE> automatically does the rest, creating the necessary table code at the time the data is output dynamically in the user's browser.

Note

<CFTABLE> works with a pretty limited feature set. If your application requires tables that use custom cell colors, multiple-column spanning, or other advanced features, you need to work with HTML's more advanced <TABLE> tag. Both tags are detailed ...

Get Sams Teach Yourself ColdFusion® in 21 Days now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.