Re: Searching a Table
| From: | Stephen | Date: | Sun, 17 Nov 2002 03:49:55 +0000 |
| Subject: | Re: Searching a Table | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-124762@lists.php.net to get a copy of this message | ||
I don't have control of my server, it's hosted. All my content is in a MySQL
database and is outputed through a php page that selects the information
from an id variable passed through the URL...
----- Original Message -----
From: "Marco Tabini" <marcot@tabini.ca>
To: "Stephen" <webmaster@melchior.us>
Cc: "PHP List" <php-general@lists.php.net>
Sent: Saturday, November 16, 2002 10:38 PM
Subject: Re: [PHP] Searching a Table
> 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
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>