House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home / Groups / ColdFusion Talk (CF-Talk)

How many products in a specific category?

Author:
Akos Fortagh
12/21/2011 03:17 AM

This maybe not the most efficient way but I have that working. <cfloop query="ShowCategories"> <cfquery name="getProducts" datasource="#request.DSN#">                    SELECT             *                   FROM                products                   WHERE  categoryID = #ShowCategories.categoryID#                 </cfquery>


Search cf-talk

May 23, 2013

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
       1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31   

Designer, Developer and mobile workflow conference