title: MySQL Search String with Spaces Using LIKE
body: <p>I'm building a search on my site and I noticed it doesn't work when you enter more than one word into the search. Here's the gist of the query:</p>
  
  <pre><code>SELECT * FROM `blog` WHERE `content` LIKE '%$keyword%' OR `title` LIKE '%$keyword%' ORDER BY `id` DESC
  </code></pre>
  
  <p>The weird things is that when I test the query in phpMyAdmin it returns the expected results. On my website however, no results are found.</p>
  
  <p>I tried replacing spaces in the keyword with %s, but that didn't change anything.</p>