title: mysql SELECT LIKE must match whole words only to the variable
body: <p>I have a $string variable, and I use</p>
  
  <pre><code> SELECT * FROM db WHERE description LIKE '%$string%' OR headline LIKE '%$string%'
  </code></pre>
  
  <p>As seen, I want to search the two fields "description" and "headline" to see if the string variable matches any of them.</p>
  
  <p>Problem is that I want it to match whole words!!!</p>
  
  <p>Ex: If description contains "hello", It is enough if $string is an 'h'. this is not what I want.It has to match the whole word only!</p>
  
  <p>I split the querystring into words for this? or what?</p>