I\'ve been trying to find exact words and my research isn\'t helping me.
Solutions I\'ve found:
$query .= \"WHERE text REGEXP \'[[:<:]]($word)[[:>:
You will want to use MySql Full Text Search functions to accomplish what you describe above.
Enjoy!