|
1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'OR categories.parent_id = ORDER BY products.products_sort_order' at line 1
SELECT products_to_categories.products_id AS pid FROM products_to_categories, products, categories WHERE products_to_categories.categories_id = categories.categories_id AND products.products_id = products_to_categories.products_id AND categories.categories_id = OR categories.parent_id = ORDER BY products.products_sort_order
[TEP STOP]
|