I am doing a custom ecommerce web app using php and mysql. I am stuck with an issue related to product search.
User enters a keyword to search product. The search query should look into product name & description, category name and manufacturer name it belongs to.
The table schema is as follows:
Products: id, name, description (and other fields) Manufacturers: id, name, description (and other fields) Category: id, name, description (and other fields) Product_Manu: id, prod_id, manu_id Product_Cat: id, prod_id, cat_id
Can you please help me with the SQL query? Thanks in advance.