G
ganderson
How do I get a search form to find matches from more than
on field of my database? My custom query looks like
this:
SELECT * FROM Product_Query WHERE (ProductName
LIKE '%::Search::%' OR Category LIKE '%*Category*%' OR
Brief_Description LIKE '%*Brief_Description*%' OR
Long_Description LIKE '%*Long_Description*%' OR Brand
LIKE '%*Brand*%' OR Merchant_Name LIKE '%
*Merchant_Name*%' OR ProductName LIKE '%*ProductName*%').
But I am only able to get search results for the
ProductName field.
Does anyone know what changes i need to make to my query?
on field of my database? My custom query looks like
this:
SELECT * FROM Product_Query WHERE (ProductName
LIKE '%::Search::%' OR Category LIKE '%*Category*%' OR
Brief_Description LIKE '%*Brief_Description*%' OR
Long_Description LIKE '%*Long_Description*%' OR Brand
LIKE '%*Brand*%' OR Merchant_Name LIKE '%
*Merchant_Name*%' OR ProductName LIKE '%*ProductName*%').
But I am only able to get search results for the
ProductName field.
Does anyone know what changes i need to make to my query?