Hi,
I'm probably being stupid here but can someone please help me on my query?
It's displaying the correct results - but more than once:
<cfquery name="cats" datasource="localads">
SELECT ID, cat_name, sub_name, sub_id, catid
FROM categories, sub_categories
WHERE sub_categories.catid = #url.cid#
</cfquery>
<Cfoutput>#cats.cat_name# - Sub Cats:</cfoutput>
<Cfoutput query="cats">#sub_name#<br></cfoutput>
Any help appreciated.
Will
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.