I've got the following tables:
Products:
id, name, ...
Products_in_Categories
id, category_id, product_id
Categories
id, name, ...
I have an admin page where I want to let him search products by name, catalog id etc. And of course by category and name and catalog id ...
So without the category - it's really easy. But when I want the search to be able to extract only the information of the products that are related to the chosen category - I just can't figure it out.
Am I using some old methods or is this the way to store it? I know and have used serialize and unserialize but I didn't want to use it here.
Any help will be very appreciated, thank you!