• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help needed with search query

#11
[eluser]vitoco[/eluser]
for fulltext search in mysql read this :
FULLTEXT SEARCH
This is the basic sintax
Code:
SELECT
    field_1 ,
    field_2 ,
    ...
    field_n
FROM
    tb_1
WHERE
    MATCH(field_1,[...[,field_n]]) AGAINST ('$token_1[ $token_2[ $token_n]]')

Saludos

#12
[eluser]Bus Pants[/eluser]
From the original post...

"So I planned on using PHP/MySQL FULLTEXT searching for this but it turns out that many of the popular searches on this site will net less than three results, and FULLTEXT will return zero/null if there are less than three matches…"


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.