|
-
May 26th, 2005, 10:04 AM
#1
Search function
I'm not that experience with PHP yet but what I need to ddo is create a database. It'll contain entries that have keywords, data, title, date, and an ID. I need to figure out how to search it. I've used search engines before that were so bad if you too many spaces or something stupid like that it didn't find it but google has an awesome way of searching. How could I create a search function that is at least decent?
I don't expect a post telling me how to re-create google but links and advice would be helpful
-
May 26th, 2005, 11:32 AM
#2
Addicted Member
Re: Search function
I got you covered buddy.
I 've created an open source program to be downloaded called EZ-DATA its web based. To see an example of it.. got to
http://www.yourcodes.com/ezdata/
To download the newest version of it.. go to
http://yourcodes.com/index/modules.p...download&cid=7
If you have any probelms. Please post all questions here.
Hope that helped. I'd suggest getting a book if you are further interested in PHP. Its my favorite language. Very robust and there are thousands of open source programs out there for free.
As far as a serch ability.. its wonderful.. Ive not seen any errors so far.
-
May 26th, 2005, 02:18 PM
#3
Re: Search function
techwizz, what exactly does your program do? 
kas, in MySql you can create a Full Text index on a field. This enables you to carry out fast searches on fields which contain text:
http://dev.mysql.com/doc/mysql/en/fulltext-search.html
-
May 26th, 2005, 09:37 PM
#4
Addicted Member
Re: Search function
Stores and searches data. Did you look at it?
what I need to ddo is create a database. It'll contain entries that have keywords, data, title, date, and an ID. I need to figure out how to search it.
I've created a database. It stores entries and he can search it. Via PHP & MySQL. It has no errors. Thats what he asked for. All he has to do is change the names of the fields in MySQL and the form to match.
Now if he wants a search engine program that can go out and get its own data. Thats a different story.
-
May 27th, 2005, 01:40 AM
#5
Re: Search function
 Originally Posted by techwizz
Stores and searches data.  Did you look at it?
I've created a database. It stores entries and he can search it. Via PHP & MySQL. It has no errors. Thats what he asked for. All he has to do is change the names of the fields in MySQL and the form to match.
Now if he wants a search engine program that can go out and get its own data. Thats a different story.
Hi, I wasn't suggesting it didn't work, I just couldn't see a description anywhere about what it was and what it did. 
Does it use full text or just a general equality search?
-
May 27th, 2005, 03:59 PM
#6
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|