Question : counting in a bettre way

to make it easy i usually count the counts this:

define a main query

<cfquery>
select * from cats
</cfquery>

<cfoutput query="getcats">
<cfset a = cfc.getcounts(getlistings=#getcats.catID#)>
listing1 (#a.total#)
</cfoutput>

it will show the correct counts but it will hinder performance please show me a better way of doing the same thing!

Answer : counting in a bettre way

The difference will be in your keyboard layout. You will be using French to type but your kb layout is English so it will take you some time to work out which key you need to press for certain French letters. Apart from that everything will be the same.
Random Solutions  
 
programming4us programming4us