Results 1 to 2 of 2
  1. #1
    Join Date
    May 2010

    Unanswered: 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?

  2. #2
    Join Date
    Jun 2010
    New Zealand
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts