On 8/3/06, Patrick Forsythe <[EMAIL PROTECTED]> wrote: > the category information is in a seperate row these are only the uid s > that are stored with the product. >
Understood...but what you need is an intermediate table which links the two...something like... category table: uid description deep_images table: deepimagesid someothercolumn deep_images_category table: deepimagesid uid Then you would query your table with something like: SELECT someothercolumn FROM deep_images a LEFT JOIN deep_images_category b ON a.uid = b.uid WHERE b.uid = #uid# -- Jim Wright Wright Business Solutions [EMAIL PROTECTED] 919-417-2257 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:248751 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

