Re: A good search tutorial
| From: | Brent Clark | Date: | Wed, 21 Apr 2004 09:38:00 +0000 |
| Subject: | Re: A good search tutorial | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-184111@lists.php.net to get a copy of this message | ||
>Hi there
>I have a site driven by a database and I need a search engine...when
someone enter a word the script to search the entire >database for that word
and return the results.
>Could someone give me the link to that kind of tutorial?
>Please email me asap
Not that my database (mysql) is big or anything, and I only work with a very
selected columns
I just normally use LIKE in my query.
E.g.
SELECT abc FROM def WHERE LIKE '%string%';
Depending on what you what. I place the % before, after and in this example
before and after.
Kind Regards
Brent Clark