Hi
I am working on a php site search page, it will be passed standard text search varibles and as you might expect i need to return relevant results from my database.
I have not implemented a decent php site search yet so wanted to get some advice from the experts.
My Project
I have two tables that i need to search (im assuming join) one for machines and one for manufactures.
Machines table (the product) has 'name' and 'details' fields
Manufatures table has 'name' feild.
I need to implement a search that returns oresults in order of relivance eg. if the search contains three words and all are matched this result is returned at the top. This is why i assume i will need to join the two tables so it can search all three feilds!!
Any advice would be much appriciated, i have found some code in turtorials but nothing that seems to go into enough detail, does anyone know of any good samples!1
Thanks in advance!!
--s--
Start Free Trial