Forum Moderators: coopster

Message Too Old, No Replies

Creating a Simple Search Engine

         

wfernley

2:15 pm on Jul 5, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hello everyone. :)

Well I need to build a search engine for my company and I am having trouble finding a good tutorial. I know the basics of PHP and I am getting better at the language, but I'm still not good enough to build a search engine. I have found a few tutorials and I am having trouble figuring out which one to use.

Basically I want my search engine to search my MySQL database and return relevant products. I have noticed how some tutorials have tables designed for containing keywords and how some don't. Do I need tables to store keywords? If not, I would really like to skip that as I would like to keep a low database filesize.

Also, does anyone have any good tutorials on a good basic search engine? I don't need anything fancy for the moment, but later on I will. I guess it will be best to start basic to understand how it works and then I can build on it as needed.

Thanks :)

Wes

Dayo_UK

2:18 pm on Jul 5, 2004 (gmt 0)



Hi Wes

Have you looked at FULLTEXT searching function in MySql.

The MySql Website has details to get you started :).

Dayo

wfernley

3:56 pm on Jul 5, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



OK great!

I will look into that :)

Birdman

5:54 pm on Jul 5, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You may consider looking at some of the free scripts, rather than reinventing the wheel. There are alot of them out there.

Here are some:

[hotscripts.com...]

wfernley

6:05 pm on Jul 5, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



hey birdman. i actually just got it working, and its working exactly how i want it too at the moment. i noticed there are tons of scripts i could use, but i like coding my own scripts. this allows me to know how they work for debugging, and also increase my knowledge on coding php :)

thanks for your help though

wes