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> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349224
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to