View Single Post
Old 06-23-2008, 07:50 AM  
sysk
Confirmed User
 
sysk's Avatar
 
Industry Role:
Join Date: Aug 2007
Location: Montreal
Posts: 1,005
uh... You want all products/categories from store "name.co.uk" ??

Then you will need to use IN()

[...]
AND p2c.categories_id IN(
SELECT cs.categories_id FROM categories_stores cs WHERE cs.categories_storename = 'name.co.uk'
)
[...]
__________________
icq: 612510168 / email: [email protected] / php ninja 4 hire
sysk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote