Sorry.
My version is: MySQL 5.0.67
Here is my mysql query:
SELECT `id`, `content` FROM `mapContent` WHERE LOWER(`content`) LIKE '%tea%'
What is happening is that its grabbing words that happen to have "tea" inside of them such as "team", "instead" and "steady".
What my client wants is for it to only grab the word "tea". For example if the record had.
"I like to drink tea in the morning" <= it would grab this
But if it said:
"I want to drink coffee instead" <= it wouldn't grab this despite there being the letters "tea" in part of the text.
Is that descriptive enough? I've tried using the like statement and I've also tried this:
SELECT `id`, `content` FROM `mapContent` WHERE MATCH(`content`) AGAINST('+tea' IN BOOLEAN MODE)
And this:
SELECT `id`, `content` FROM `mapContent` WHERE MATCH(`content`) AGAINST('+"tea"' IN BOOLEAN MODE)
I'm not getting any error messages, but i'm still not getting the desired result.