Jump to content

MATCH query


neugi

Recommended Posts

Hi,

i've written this query:
[code]SELECT h.id, h.kbeschreibung, hf.text
FROM hauser AS h
LEFT JOIN haus_fertigarten AS hf ON h.id = hf.hid
WHERE MATCH (h.kbeschreibung, hf.text) AGAINST ('Loretto' IN BOOLEAN MODE)[/code]

with this i get no result

if i use it like this it works
[code]SELECT h.id, h.kbeschreibung, hf.text
FROM hauser AS h
LEFT JOIN haus_fertigarten AS hf ON h.id = hf.hid
WHERE MATCH (h.kbeschreibung) AGAINST ('Loretto' IN BOOLEAN MODE) OR MATCH (hf.text) AGAINST ('Loretto' IN BOOLEAN MODE)[/code]

maybe somebody can tell me why my first don't work

thx
Link to comment
https://forums.phpfreaks.com/topic/18175-match-query/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.