![]() |
![]() ![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 7 Pomógł: 0 Dołączył: 9.02.2010 Ostrzeżenie: (0%) ![]() ![]() |
Witam,
Mam takie zapytanie do MySQL:
Mam problem z tym że zamiast wyświetlić (tytul_pl, autor, tytul_en, summary_en, summary_pl, keywords_en, keywords_pl, tresc, kod, id2, rok, numer) wyświetla mi kolumne relevance Dziękuję za wszelkie sugestie. Pozdrawiam, BlackHat Ten post edytował BlackHat 4.03.2010, 15:00:34 |
|
|
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 855 Pomógł: 145 Dołączył: 17.07.2008 Skąd: High Memory Area Ostrzeżenie: (0%) ![]() ![]() |
Nie wpisałeś tych kolumn na listę kolumn, to czego oczekujesz?
Kod SELECT tytul_pl, autor, tytul_en, summary_en, summary_pl, keywords_en, keywords_pl, tresc, kod, id2, rok, numer, MATCH ( tytul_pl, autor, tytul_en, summary_en, summary_pl, keywords_en, keywords_pl, tresc, kod, id2, rok, numer ) AGAINST ( '$searchterm' ) AS Relevance FROM czytelnia WHERE MATCH ( tytul_pl, autor, tytul_en, summary_en, summary_pl, keywords_en, keywords_pl, tresc, kod, id2, rok, numer ) AGAINST ( '$searchterm' IN BOOLEAN MODE ) HAVING Relevance > 0.2 ORDER BY Relevance DESC LIMIT 0 , 160 |
|
|
![]()
Post
#3
|
|
Grupa: Zarejestrowani Postów: 7 Pomógł: 0 Dołączył: 9.02.2010 Ostrzeżenie: (0%) ![]() ![]() |
Dzięki
![]() |
|
|
![]() ![]() |
![]() |
Aktualny czas: 19.08.2025 - 15:59 |