views:

152

answers:

1

Duplicate:

How would I implement a simple site search with php and mySQL?

I want to insert a search functionality into an existing website. The site is database driven. What is the best way to achieve this? Should i just simply go ahead with the query select * from tables where field like user input? Is there a better way to index the site?

+1  A: 

This question is pretty much a duplicate of this one:

http://stackoverflow.com/questions/386914/how-would-i-implement-a-simple-site-search-with-php-and-mysql

andynormancx
thank you very much for the response. i will take a look at the link.once again, thanks for your time.
War Coder