0

For example the table name is "test_table" The text-field name is test-text

    $search="internet";
    -----------------
    SELECT text-field  FROM test_table as t
    WHERE (t.text-fielde LIKE '%" . $search . "%')
    ORDER BY MAX(COUNT(XXX))  // xxx=result of LIKE  for $search 

I hope you got my mean. I wana sortet result by number of searched word.

user3307827
  • 556
  • 1
  • 7
  • 20

0 Answers0