Jump to content

what's wrong with my query


nathanmaxsonadil

Recommended Posts

error

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'MATCH(title, content) AGAINST ('test' IN BOOLEAN MODE) AS score FROM news WHERE ' at line 1

 

query

SELECT id, title, author, date, content MATCH(title, content) AGAINST ('test' IN BOOLEAN MODE) AS score FROM news WHERE MATCH(title, content) AGAINST ('test' IN BOOLEAN MODE) ORDER BY score DESC

 

what's wrong with my query??

 

 

Link to comment
https://forums.phpfreaks.com/topic/69694-whats-wrong-with-my-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.