title: MySQL Search Delimited, Using PHP
body: <p>I have the following database structure:</p>
  
  <pre><code>id | name         | size
  -------------------------
  1  | Men's Jacket | S,M,L
  2  | Men's Jacket | M,L
  3  | Men's Jacket | S
  </code></pre>
  
  <p>I want to get a result with <code>size</code> <strong>M</strong> only.</p>
  
  <p>I know how to do it, using PHP's <code>explode()</code> &amp; <code>foreach()</code>, but it takes too much memory for 10k+ products.</p>