Re: Searching a Table
| From: | Marco Tabini | Date: | Sun, 17 Nov 2002 03:38:45 +0000 |
| Subject: | Re: Searching a Table | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-124761@lists.php.net to get a copy of this message | ||
Well, if you're using a database, say MySQL, you can look at FREETEXT
indexes and queries. If you want to index your web pages, you should be
looking at a search engine that works with your web server. For example,
ht:dig (http://www.htdig.org/) works with Apache.
Marco
--
------------
php|architect - The magazine for PHP Professionals
The first monthly worldwide magazine dedicated to PHP programmers
Check us out on the web at http://www.phparch.com
On Sat, 2002-11-16 at 22:40, Stephen wrote:
> I need to make a search engine for my site. Instead of making a table with all the words of my
content of my reviews, I need to make it simple. How could you search a table of articles
(let's say game_reviews) by comparing keywords the user types in, to the text of the article?
All the tutorials I can find make a table with a list of words of every single keyword...
>
>
> Thanks,
> Stephen Craton
> http://www.melchior.us
>
> "Life is a gift from God. Wasting it is like destroying a gift you got from the person you
love most." -- http://www.melchior.us
> ----
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php