Hi there,
Hoping someone can help me out converting a query so that it works in MySQL 3.23 - it includes a sub select so I believe that's what the problem is.
Is it a case of breaking it up in to two seperate queries?Code:SELECT * FROM products_extra_fields pef WHERE category_id LIKE '% 3,%' OR category_id =3 OR category_id = 'all' OR pef.category_id = ( SELECT c.parent_id FROM categories AS c WHERE c.categories_id =3 ) ORDER BY products_extra_fields_order
Any help much appreciated.
Cheers,
DM







But its what I'm stuck with at the moment. I'm not familiar with spaghetti style PHP or osCommerce, so I'd rather no hack in my own solution at this stage.

Bookmarks