Hi, I'm currently using the following mysql statement to perform a search.
Right now it is only returning the results which are found in the
description field. How do I modify this statement so that it is searching
the following fields: company_name, product_name, description.
SELECT product_id, company_name, product_name, url, description
FROM product, company
WHERE product.product _id = company.company _id AND description regexp
'#FORM.query#'
Thanks for your help,
Nathan
_______________ _______________ _______________ _______________ _____
Help STOP SPAM with the new MSN 8 and get 2 months FREE*
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/mysql?unsub=m...ie.nctu.edu.tw
Right now it is only returning the results which are found in the
description field. How do I modify this statement so that it is searching
the following fields: company_name, product_name, description.
SELECT product_id, company_name, product_name, url, description
FROM product, company
WHERE product.product _id = company.company _id AND description regexp
'#FORM.query#'
Thanks for your help,
Nathan
_______________ _______________ _______________ _______________ _____
Help STOP SPAM with the new MSN 8 and get 2 months FREE*
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/mysql?unsub=m...ie.nctu.edu.tw