I'm rewriting the shopping cart for a boutique. It's a generous mixture 
of JS and CFM. An issue that I have is this...

I have a table of sizes and their IDs
I have a table of colors and their IDs
I have a table of Items and their specs. Two of the fields hold a comma 
delimited listing of IDs, one field for the sizes and one for the colors.

When I call my initial query it gives me the specs of the items within a 
specific category

                Select  c.txtBoutCat as Cat,
                        i.txtSubCat as SubCat,
                        i.txtDesignName as Name,
                        i.mnyItemPrice as Price,
                        i.mnyXXAdd as XX,
                        i.mnyXXXAdd as XXX,
                        i.txtColors as Colors,
                        i.txtSizes as Sizes,
                        i.blEmbroider as Embroider,
                        i.txtImageName as Image,
                        i.intImgWidth as Width,
                        i.intImgHeight as Height,
                        i.intImgThmbWidth as TWidth,
                        i.intImgThmbHeight as THeight,
                        i.blWomens as Womens
        From    tblboutcat c,
                        tblboutitems i
        Where   c.intBoutCatID = i.intBoutCatID
        And             i.blActive = 1

Then I will cfoutput for the query qItems, writing my form within the 
output, basically creating the display for each individual item. My 
problem is getting my comma delimited lists of IDs into actual text 
entries of my select boxes. What is the best way of going about this?

Cutter

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to