webpage search tool

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
C_Calav
Forum Contributor
Posts: 395
Joined: Wed Jun 02, 2004 10:55 pm
Location: New Zealand

webpage search tool

Post by C_Calav »

hey guys,

i need some help as to where to start with codeing a internal search for my website.

can anyone suggest and sites or anything to help me get started. i did some difgging around but cant find any kind of tutorial or sumthing.

thanx guys
Appletalk
Forum Newbie
Posts: 6
Joined: Sun Dec 19, 2004 7:23 pm
Location: Argentina
Contact:

Post by Appletalk »

Look at the PHPDig project.
http://www.phpdig.net

Good luck
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Post by pickle »

If you're using a MySQL database, it has the functionality to do a full text search. All you do is set up full text indices on a given table, then run a certain query on that table. MySQL can then return all fields in the table that match, in order of relevancy.

Check it out: [mysql_man]FULL TEXT SEARCH[/mysql_man]
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
Post Reply