Hello,
i have created a simple cfquery which is
------------------------------------------------
<cfquery name="tmax" datasource="xxxxxx">
SELECT thermaxRange.productName, thermaxRange.productIMG, thermaxLabelRange.range
FROM thermaxRange
LEFT JOIN thermaxLabelRange
ON thermaxRange.thermaxID = thermaxLabelRange.thermaxID
</cfquery>
------------------------------------------------
and basicly what it does is it pulls data from one table, data such as the products name, product image, etc. And then it pulls more data from another table, this data being specific to each product.
when i use the cfoutput tags like this
------------------------------------------
<cfoutput query="tmax">
<p>#productName#</p><br />
<img src="images/thermaxIMG/#productIMG#" title="" alt="" /><br />
<a href="7" >see products</a><br />
#range#
</cfoutput>
------------------------------------------
it repeats the products from one table which is good. But when it comes to displaying the data from another table, it seems to repeat the same product in accordance to the data in the second table.
you can have a look here and see what i mean click me
what you are looking at is the first product being repeated several times . This product should have ABCD next to it only ,not to have it displayed as it is doing so.
example of how it should be displayed
3 level <--- Both of these are pulled from the first table
product image
ABCD <---this is pulled from the second table
and then so on for each of the products.
i dont know why its displaying it like that.
any help would be nice.
cheers
Darren