Welcome Guest, Not a member yet? Register   Sign In
Simple Search in chosen fields
#1

[eluser]Shiju S S[/eluser]
Modified the table with
Code:
Alter  table listeditems  add
FULLTEXT KEY search (category,subcategory,title,details,address)

The search results was passed to the query:

Code:
$query ="SELECT * FROM listeditems WHERE MATCH (category,subcategory,title,details,address) AGAINST ($searchterm) > 0";

The problem is:

1. Search strings should have a minimum length. This is generally three or four characters, but depends on configuration.

2. If you have fewer than three rows of data, you won’t get any search results back.

How can this problem be solved





Theme © iAndrew 2016 - Forum software by © MyBB