If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > PHP > Best PHP Coding Method To Find Relevant Data From MySQL

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-02-10, 00:55
vibhavram vibhavram is offline
Registered User
 
Join Date: May 2010
Location: Hyderabd
Posts: 12
Best PHP Coding Method To Find Relevant Data From MySQL

I am building a plugin for my web site to find relevant data from the database. I have used an sql query to fetch the relevant data by using MATCH() and AGAINST() commands. But could not get much relevant data. I want a method that is purely PHP programmed which will search relevant data and rate it and show the best having much relevancy. Can any one suggest me the the best?
Reply With Quote
  #2 (permalink)  
Old 06-02-10, 04:35
ProphetX ProphetX is offline
Registered User
 
Join Date: Jun 2010
Location: New Zealand
Posts: 15
Could you explain what you mean by "relevant data"? Maybe give an example of what you're trying to do? You might want to look into full-text searches in MySQL.

You should do as much processing and searching within MySQL as possible, because it is much quicker than selecting everything and searching in PHP. Use PHP to build queries that are as specific as possible, and let MySQL do the magic searching, grouping and sorting.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On