[thelist] ASP equivalent to CFML question

nagrom morgan at morgankelsey.com
Fri May 17 08:47:00 CDT 2002


i don't think any of the other server-side languages have this
functionality.
(at least not ASP or PHP)


> > What does the [<cfoutput group="column">] CF Tag do?
> > Does it work with a returned record set or with the SQL itself?
>
> hi anthony
>
> it works on the output, i.e. on the returned record set
>
[snip]

> now let's print it out, using the GROUP= parameter to group the depts
>
>   <cfoutput query=empquery group=dept>
>       Dept: #dept#
>         <cfoutput>
>              #employee#
>         </cfoutput>
>   </cfoutput>
>
> the results look like this
>
>       Dept: 17
>              lars
>       Dept: 32
>              fred
>              jane
>              john
>              todd
>       Dept: 41
>              bill
>              jens
>       Dept: 53
>              mary
>
[/snip]
>
> rudy
>
> --
> For unsubscribe and other options, including
> the Tip Harvester and archive of thelist go to:
> http://lists.evolt.org Workers of the Web, evolt !
>




More information about the thelist mailing list