I guess I should simplify that last post - - I have two tables Pages and Colors - - I need to output a the two together - so that I get a different color with each page.... Currently I only get either all one color - or all one page.
http://cf.bigfatdesigns.com/clients/roto/test.cfm Here's my faulty code: <!--- Get The Colors ---> <cfquery name="qryGetMenuBG" datasource="#datasource#" username="#username#" password="#password#"> SELECT * FROM MenuBackground ORDER by MBSort </cfquery> <!--- Get The menu ---> <cfquery name="qryGetAllMenu" datasource="#datasource#" username="#username#" password="#password#"> SELECT Content.PageID, Content.Title, Content.AssocID, Content.Sort FROM Content WHERE Content.AssocID = '0' AND Content.Active=1 ORDER BY Sort ASC </cfquery> <!-- Get Layer 1 Menu---> <cfloop query="qryGetAllMenu"> <cfloop query="qryGetMenuBG"> <cfoutput><li>#qryGetAllMenu.Title# - - #qryGetMenuBG.MBFile#</cfoutput> </cfloop> </cfloop> Ideas? Help - please? - Nick ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:15:1731 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/15 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:15 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
