Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > Pro PHP
|
Pro PHP Advanced PHP coding discussions. Beginning-level questions will be redirected to the Beginning PHP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro PHP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 26th, 2006, 05:25 AM
ct ct is offline
Authorized User
 
Join Date: Aug 2005
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Default knowlegde and information retrieval

can u help me...i have to do a 'knowledge and information retrieval system'..and i wanna know what is your opinion if i'm using php/mysql as my tool in order to develop the system...the system is like user enter a phrase of word then..then system will search the matching word that the user have entered..more like search engine function..it is complicated?
i really appreciate if u can share your opinion...thank u.

 
Old April 26th, 2006, 12:03 PM
Friend of Wrox
 
Join Date: Dec 2004
Posts: 154
Thanks: 0
Thanked 0 Times in 0 Posts
Default

$lookingfor=user input
$query = "SELECT * FROM table_name WHERE text_is_store LIKE '$lookingfor'";
thats pretty simple to me.. some might not think so.

Obviously its a bit more complicated.. because if you put $lookingfor='Today' then you will get every documents with the word 'Today' returned .. so you need to do some filtering and more important you need to consider the amount of datas which are going to be stored.
1 table with 5000 data is ok.. 1 table with 500 000 .. you might get a bit of lag on the Query.

Overall, if you have some basic knowledge of programming its dead easy.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Date retrieval Neal Excel VBA 1 February 1st, 2007 06:43 AM
'knowledge and information retrieval system ct Access ASP 0 April 26th, 2006 05:32 AM
XML Retrieval Help t3projects BOOK: Professional JavaScript for Web Developers ISBN: 978-0-7645-7908-0 0 October 11th, 2005 03:24 PM
DropDownList selectedindex retrieval poison_king ASP.NET 1.0 and 1.1 Professional 5 September 21st, 2004 09:44 AM
Speed database retrieval rajanikrishna Classic ASP Databases 1 March 1st, 2004 03:55 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.